chore: update destructiveness
Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
@@ -142,7 +142,7 @@ describe('MockActionsRegistry', () => {
|
||||
title: 'Test',
|
||||
description: 'Test',
|
||||
attributes: {
|
||||
destructive: false,
|
||||
destructive: true,
|
||||
idempotent: false,
|
||||
readOnly: false,
|
||||
},
|
||||
|
||||
@@ -80,8 +80,7 @@ export class MockActionsRegistry
|
||||
title: action.title,
|
||||
description: action.description,
|
||||
attributes: {
|
||||
// todo(blam): what's safe defaults?
|
||||
destructive: action.attributes?.destructive ?? false,
|
||||
destructive: action.attributes?.destructive ?? true,
|
||||
idempotent: action.attributes?.idempotent ?? false,
|
||||
readOnly: action.attributes?.readOnly ?? false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user