Skip to content

Commit 5db0f44

Browse files
refactor(core): remove usage of unnecessary i18n composable (#13382)
Closes #13353. Co-authored-by: MilosPaunovic <[email protected]>
1 parent a863510 commit 5db0f44

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ui/src/components/kestra/Cascader.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<div v-if="data.value && data.children">
1515
<code>
1616
{{ data.children.length }}
17-
{{ data.children.length === 1 ? t("item") : t("items") }}
17+
{{ data.children.length === 1 ? $t("item") : $t("items") }}
1818
</code>
1919
</div>
2020
</div>
@@ -27,9 +27,6 @@
2727
2828
import VarValue from "../executions/VarValue.vue";
2929
30-
import {useI18n} from "vue-i18n";
31-
const {t} = useI18n({useScope: "global"});
32-
3330
const isFile = (data: any) => typeof data === "string" && (data.startsWith("kestra:///") || data.startsWith("file://") || data.startsWith("nsfile://"));
3431
3532
interface Options {

0 commit comments

Comments
 (0)