This commit is contained in:
2026-02-27 11:48:47 +00:00
parent 44b418cbdd
commit 06eae3b443
7 changed files with 21 additions and 19 deletions

View File

@@ -69,13 +69,13 @@ export class GitopsViewConnections extends DeesElement {
{
name: 'Edit',
iconName: 'lucide:edit',
type: ['inRow'],
type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => { await this.editConnection(item); },
},
{
name: 'Test',
iconName: 'lucide:plug',
type: ['inRow'],
type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => {
await appstate.connectionsStatePart.dispatchAction(
appstate.testConnectionAction,
@@ -85,8 +85,8 @@ export class GitopsViewConnections extends DeesElement {
},
{
name: 'Pause/Resume',
iconName: 'lucide:pause-circle',
type: ['inRow'],
iconName: 'lucide:pauseCircle',
type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => {
const isPaused = item.status === 'paused';
const actionLabel = isPaused ? 'Resume' : 'Pause';
@@ -111,8 +111,8 @@ export class GitopsViewConnections extends DeesElement {
},
{
name: 'Delete',
iconName: 'lucide:trash-2',
type: ['inRow'],
iconName: 'lucide:trash2',
type: ['inRow', 'contextmenu'],
actionFunc: async ({ item }: any) => {
await plugins.deesCatalog.DeesModal.createAndShow({
heading: 'Delete Connection',