Circuits OK
Accounts Ok Movements OK
This commit is contained in:
@@ -22,15 +22,18 @@ export default defineComponent({
|
||||
const globalStore = useGlobalStore()
|
||||
const { t } = useI18n()
|
||||
|
||||
const filter = ref(costanti.FIND_CIRCUIT)
|
||||
const filter = ref(costanti.MY_CIRCUITS)
|
||||
|
||||
const isfinishLoading = computed(() => globalStore.finishLoading)
|
||||
|
||||
function mounted() {
|
||||
|
||||
const filt_loaded = tools.getCookie(tools.COOK_SEARCH + tools.CIRCUIT_SEARCH, costanti.FIND_CIRCUIT, true)
|
||||
console.log('filt_loaded', filt_loaded)
|
||||
filter.value = filt_loaded ? filt_loaded : costanti.FIND_CIRCUIT
|
||||
if (userStore.my.profile.mycircuits.length <= 0) {
|
||||
filter.value = costanti.FIND_CIRCUIT
|
||||
}
|
||||
// const filt_loaded = tools.getCookie(tools.COOK_SEARCH + tools.CIRCUIT_SEARCH, costanti.FIND_CIRCUIT, true)
|
||||
// console.log('filt_loaded', filt_loaded)
|
||||
// filter.value = filt_loaded ? filt_loaded : costanti.FIND_CIRCUIT
|
||||
}
|
||||
|
||||
watch(() => filter.value, (newval: any, oldval) => {
|
||||
|
||||
Reference in New Issue
Block a user