Browse Source

feat: add description in switch tab block

Ahmad Kholid 3 years ago
parent
commit
0a7447fdc0
1 changed files with 7 additions and 1 deletions
  1. 7 1
      src/components/newtab/workflow/edit/EditSwitchTab.vue

+ 7 - 1
src/components/newtab/workflow/edit/EditSwitchTab.vue

@@ -1,9 +1,15 @@
 <template>
   <div>
+    <ui-textarea
+      :model-value="data.description"
+      :placeholder="t('common.description')"
+      class="w-full"
+      @change="updateData({ description: $event })"
+    />
     <ui-select
       :model-value="data.findTabBy"
       label="Find tab by"
-      class="w-full mb-2"
+      class="w-full mb-2 mt-3"
       @change="updateData({ findTabBy: $event })"
     >
       <option v-for="type in types" :key="type.id" :value="type.id">