rename version

This commit is contained in:
Rob 2026-01-08 14:49:40 +00:00
parent 841c3a68a2
commit ca076eb86d
3 changed files with 5 additions and 3 deletions

View File

@ -253,7 +253,7 @@ const publishButtonConfig = computed(() => {
text: i18n.baseText('workflows.publish'),
enabled: false,
showIndicator: true,
indicatorClass: 'error',
indicatorClass: 'changes',
tooltip: i18n.baseText('workflows.publishModal.noTriggerMessage'),
showVersionInfo: true,
},

View File

@ -36,6 +36,7 @@ import {
WORKFLOW_DESCRIPTION_MODAL_KEY,
WORKFLOW_HISTORY_PUBLISH_MODAL_KEY,
WORKFLOW_HISTORY_VERSION_UNPUBLISH,
WORKFLOW_VERSION_RENAME_MODAL_KEY,
CREDENTIAL_RESOLVER_EDIT_MODAL_KEY,
} from '@/app/constants';
import {
@ -158,6 +159,7 @@ export const useUIStore = defineStore(STORES.UI, () => {
WORKFLOW_PUBLISH_MODAL_KEY,
WORKFLOW_HISTORY_PUBLISH_MODAL_KEY,
WORKFLOW_HISTORY_VERSION_UNPUBLISH,
WORKFLOW_VERSION_RENAME_MODAL_KEY,
CREDENTIAL_RESOLVER_EDIT_MODAL_KEY,
].map((modalKey) => [modalKey, { open: false }]),
),

View File

@ -41,12 +41,12 @@ import type { WorkflowHistoryAction } from '@/features/workflows/workflowHistory
const workflowHistoryActionTypes: WorkflowHistoryActionTypes = [
'restore',
'publish',
'saveAsNamed',
'rename',
'unpublish',
'clone',
'open',
'download',
'saveAsNamed',
'rename',
];
const route = useRoute();