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 a678b7a commit 650d570Copy full SHA for 650d570
packages/compass-connections-navigation/src/item-actions.ts
@@ -243,13 +243,6 @@ export const collectionItemActions = ({
243
if (type === 'view') {
244
actions.push({ separator: true });
245
actions.push(
246
- canEditCollection
247
- ? {
248
- action: 'drop-collection',
249
- label: 'Drop view',
250
- icon: 'Trash',
251
- }
252
- : null,
253
{
254
action: 'duplicate-view',
255
label: 'Duplicate view',
@@ -261,6 +254,13 @@ export const collectionItemActions = ({
261
label: 'Modify view',
262
icon: 'Edit',
263
256
}
257
+ : null,
258
+ canEditCollection
259
+ ? {
260
+ action: 'drop-collection',
+ label: 'Drop view',
+ icon: 'Trash',
+ }
264
: null
265
);
266
0 commit comments