Spaces:
Running
Running
Download src/features/canvas/utils.js from DanilDrotik/FlowWeb: direct link, hf CLI and curl.
- Browser
- Download file 419 Bytes
-
https://huggingface.co/spaces/DanilDrotik/FlowWeb/resolve/main/src/features/canvas/utils.js
- Command line
-
hf download hf://spaces/DanilDrotik/FlowWeb/src/features/canvas/utils.js
-
curl -L -o utils.js https://huggingface.co/spaces/DanilDrotik/FlowWeb/resolve/main/src/features/canvas/utils.js
419 Bytes
| export const isDefaultLabel = (val) => { | |
| if (!val) return true; | |
| const clean = val.trim().toLowerCase(); | |
| return ( | |
| clean === '' || | |
| clean === 'new goal' || | |
| clean === 'new condition?' || | |
| clean === 'новая привычка' || | |
| clean === 'нова звичка' || | |
| clean === 'new habit' || | |
| clean === 'condition' || | |
| clean === 'умова' || | |
| clean === 'нова ціль' | |
| ); | |
| }; | |