mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
✨ Dynamic title based on workflow execution (#865)
* ✅ Added title changes based on workflow execution * ⚡ Title changes on workflow open, reset on workflow delete, fixed not showing when page refreshed * ⚡ Title icons
This commit is contained in:
@@ -37,11 +37,13 @@ import { showMessage } from '@/components/mixins/showMessage';
|
||||
import { IWorkflowShortResponse } from '@/Interface';
|
||||
|
||||
import mixins from 'vue-typed-mixins';
|
||||
import titleChange from './mixins/titleChange';
|
||||
|
||||
export default mixins(
|
||||
genericHelpers,
|
||||
restApi,
|
||||
showMessage,
|
||||
titleChange
|
||||
).extend({
|
||||
name: 'WorkflowOpen',
|
||||
props: [
|
||||
@@ -89,6 +91,7 @@ export default mixins(
|
||||
},
|
||||
openWorkflow (data: IWorkflowShortResponse, column: any) { // tslint:disable-line:no-any
|
||||
if (column.label !== 'Active') {
|
||||
titleChange.set(data.name, 'IDLE');
|
||||
this.$emit('openWorkflow', data.id);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user