feat : smart tree component (#2865)

Co-authored-by: Andrew Bastin <andrewbastin.k@gmail.com>
Co-authored-by: Liyas Thomas <liyascthomas@gmail.com>
This commit is contained in:
Nivedin
2023-01-31 17:15:03 +05:30
committed by GitHub
parent b95e2b365a
commit 2910164d5a
39 changed files with 4483 additions and 4142 deletions

View File

@@ -16,14 +16,15 @@
<ButtonPrimary
v-focus
:label="t('action.save')"
:loading="loading"
outline
@click="saveApiChange"
@click="saveChange"
/>
<ButtonSecondary
:label="t('action.dont_save')"
outline
filled
@click="discardApiChange"
@click="discardChange"
/>
</span>
<ButtonSecondary
@@ -43,6 +44,7 @@ const t = useI18n()
defineProps<{
show: boolean
loading?: boolean
}>()
const emit = defineEmits<{
@@ -51,11 +53,11 @@ const emit = defineEmits<{
(e: "hide-modal"): void
}>()
const saveApiChange = () => {
const saveChange = () => {
emit("save-change")
}
const discardApiChange = () => {
const discardChange = () => {
emit("discard-change")
}