mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
refactor(core): remove usage of unnecessary i18n composable (#13580)
Closes https://github.com/kestra-io/kestra/issues/13351. Co-authored-by: MilosPaunovic <paun992@hotmail.com>
This commit is contained in:
@@ -16,12 +16,12 @@
|
||||
/>
|
||||
<div v-else-if="invalidGraph">
|
||||
<el-alert
|
||||
:title="t('topology-graph.invalid')"
|
||||
:title="$t('topology-graph.invalid')"
|
||||
type="error"
|
||||
class="invalid-graph"
|
||||
:closable="false"
|
||||
>
|
||||
{{ t('topology-graph.invalid_description') }}
|
||||
{{ $t('topology-graph.invalid_description') }}
|
||||
</el-alert>
|
||||
</div>
|
||||
</div>
|
||||
@@ -29,15 +29,12 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
import {computed, ref} from "vue";
|
||||
import {useI18n} from "vue-i18n";
|
||||
import {Utils} from "@kestra-io/ui-libs";
|
||||
import LowCodeEditor from "./LowCodeEditor.vue";
|
||||
import {useFlowStore} from "../../stores/flow";
|
||||
|
||||
const flowStore = useFlowStore();
|
||||
|
||||
const {t} = useI18n();
|
||||
|
||||
const flowYaml = computed(() => flowStore.flowYaml);
|
||||
const flowGraph = computed(() => flowStore.flowGraph);
|
||||
const invalidGraph = computed(() => flowStore.invalidGraph);
|
||||
|
||||
Reference in New Issue
Block a user