mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
Add ids to ctm
This commit is contained in:
parent
4b26453e0e
commit
16e34102f5
@ -13,7 +13,7 @@ import styles from './styles.scss';
|
||||
|
||||
function SettingsRow({ destination, name, onClick }) {
|
||||
return (
|
||||
<div className={styles.settingsRow} onClick={() => onClick(destination)}>
|
||||
<div className={styles.settingsRow} id={name} onClick={() => onClick(destination)}>
|
||||
<div>
|
||||
<div className={styles.frame}>
|
||||
<div className={styles.icon}>
|
||||
|
@ -431,6 +431,7 @@ export class ListPage extends React.Component {
|
||||
renderPluginHeader = () => {
|
||||
const pluginHeaderActions = [
|
||||
{
|
||||
id: 'addEntry',
|
||||
label: 'content-manager.containers.List.addAnEntry',
|
||||
labelValues: {
|
||||
entity: capitalize(this.props.match.params.slug) || 'Content Manager',
|
||||
|
@ -60,6 +60,7 @@ class SettingsPage extends React.PureComponent {
|
||||
getPluginHeaderActions = () => (
|
||||
[
|
||||
{
|
||||
id: 'cancelChanges',
|
||||
label: 'content-manager.popUpWarning.button.cancel',
|
||||
kind: 'secondary',
|
||||
onClick: this.handleReset,
|
||||
|
Loading…
x
Reference in New Issue
Block a user