added online and trigger

This commit is contained in:
2026-07-22 18:12:45 +03:30
parent a759cf7251
commit 090dbbe239
21 changed files with 1463 additions and 286 deletions
+8 -1
View File
@@ -18,14 +18,21 @@
</template>
<script setup lang="ts">
import { computed, onMounted } from 'vue'
import { useRoute } from 'vue-router'
import BasicMenu from '@/components/BasicMenu/index.vue'
import { useRouterStore } from '@core/stores/router'
import { get } from 'lodash'
import type { RouteRecordRaw } from 'vue-router'
import { conditionalOrderEnabledSetting } from '@/utils/config'
import { conditionalOrderEnabledSetting, initWalletSettingsFromApi } from '@/utils/config'
const routerStore = useRouterStore()
const route = useRoute()
onMounted(() => {
void initWalletSettingsFromApi()
})
const menu = computed(() => {
const item = routerStore.routes.find((item) => item.name === 'hesabKetab')
const children = get(item, 'children[0].children', []) as RouteRecordRaw[]