This commit is contained in:
2026-02-27 11:21:27 +00:00
parent 81ead52a72
commit 44b418cbdd
6 changed files with 29 additions and 17 deletions

View File

@@ -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>`,