소스 검색

feat: rename conditions to "control flow"

Ahmad Kholid 2 년 전
부모
커밋
d19d1fd0b0
1개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 5 5
      src/utils/shared.js

+ 5 - 5
src/utils/shared.js

@@ -505,7 +505,7 @@ export const tasks = {
     name: 'Repeat task',
     icon: 'riRepeat2Line',
     component: 'BlockRepeatTask',
-    category: 'general',
+    category: 'conditions',
     inputs: 1,
     outputs: 2,
     allowedInputs: true,
@@ -674,7 +674,7 @@ export const tasks = {
     icon: 'riRefreshFill',
     component: 'BlockBasicWithFallback',
     editComponent: 'EditWhileLoop',
-    category: 'general',
+    category: 'conditions',
     inputs: 1,
     outputs: 2,
     allowedInputs: true,
@@ -690,7 +690,7 @@ export const tasks = {
     icon: 'riRefreshLine',
     component: 'BlockBasic',
     editComponent: 'EditLoopData',
-    category: 'general',
+    category: 'conditions',
     inputs: 1,
     outputs: 1,
     allowedInputs: true,
@@ -727,7 +727,7 @@ export const tasks = {
     description: 'To tell where loop data must stop',
     icon: 'riStopLine',
     component: 'BlockLoopBreakpoint',
-    category: 'general',
+    category: 'conditions',
     disableEdit: true,
     inputs: 1,
     outputs: 1,
@@ -1349,7 +1349,7 @@ export const categories = {
     color: 'bg-lime-200 dark:bg-lime-300 fill-lime-200 dark:fill-lime-300',
   },
   conditions: {
-    name: 'Conditions',
+    name: 'Control flow',
     border: 'border-blue-200 dark:border-blue-300',
     color: 'bg-blue-200 dark:bg-blue-300 fill-blue-200 dark:fill-blue-300',
   },