update
This commit is contained in:
@@ -165,12 +165,14 @@ export class GitopsViewSecrets extends DeesElement {
|
||||
{
|
||||
name: 'Edit',
|
||||
iconName: 'lucide:edit',
|
||||
action: async (item: any) => { await this.editSecret(item); },
|
||||
type: ['inRow'],
|
||||
actionFunc: async ({ item }: any) => { await this.editSecret(item); },
|
||||
},
|
||||
{
|
||||
name: 'Delete',
|
||||
iconName: 'lucide:trash2',
|
||||
action: async (item: any) => {
|
||||
iconName: 'lucide:trash-2',
|
||||
type: ['inRow'],
|
||||
actionFunc: async ({ item }: any) => {
|
||||
await plugins.deesCatalog.DeesModal.createAndShow({
|
||||
heading: 'Delete Secret',
|
||||
content: html`<p style="color: #fff;">Are you sure you want to delete secret "${item.key}"?</p>`,
|
||||
|
||||
Reference in New Issue
Block a user