Przeglądaj źródła

fix: workflow title

Ahmad Kholid 2 lat temu
rodzic
commit
e0714db94c
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      src/newtab/pages/workflows/[id].vue

+ 2 - 1
src/newtab/pages/workflows/[id].vue

@@ -1563,7 +1563,8 @@ function checkWorkflowUpdate() {
 }
 }
 
 
 useHead({
 useHead({
-  title: () => `${workflow.value?.name} workflow - Automa` || 'Automa',
+  title: () =>
+    `${workflow.value?.name} ${isPackage ? 'package' : 'workflow'}` || 'Automa',
 });
 });
 const shortcut = useShortcut([
 const shortcut = useShortcut([
   getShortcut('editor:toggle-sidebar', toggleSidebar),
   getShortcut('editor:toggle-sidebar', toggleSidebar),