We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 398f38b commit 959c687Copy full SHA for 959c687
src/welcome/admin.js
@@ -29,6 +29,7 @@ import {
29
isPro,
30
v2disabledBlocks,
31
defaultBreakpoints,
32
+ editorRoles,
33
} from 'stackable'
34
import classnames from 'classnames'
35
import { fetchSettings, importBlocks } from '~stackable/util/admin'
@@ -167,12 +168,7 @@ const SEARCH_TREE = [
167
168
{
169
id: 'role-manager',
170
children: [
- __( 'Role Manager', i18n ),
171
- __( 'Administrator', i18n ),
172
- __( 'Editor', i18n ),
173
- __( 'Author', i18n ),
174
- __( 'Contributor', i18n ),
175
- __( 'Subscriber', i18n ),
+ ...Object.values( editorRoles ),
176
],
177
},
178
@@ -185,11 +181,7 @@ const SEARCH_TREE = [
185
181
id: 'custom-fields-settings',
186
182
187
183
__( 'Custom Fields', i18n ),
188
189
190
191
192
184
193
194
195
0 commit comments