Some ts interface fix
This commit is contained in:
@@ -27,15 +27,19 @@
|
||||
|
||||
</template>
|
||||
<script setup lang="ts" >
|
||||
import { IDomainInfo } from 'src/types/ActionTypes';
|
||||
import { useAuthStore,IUserState } from 'stores/useAuthStore';
|
||||
import { ref, computed } from 'vue';
|
||||
import { IDomainInfo } from 'src/types/DomainTypes';
|
||||
import { useAuthStore } from 'stores/useAuthStore';
|
||||
import { useDomainStore } from 'src/stores/useDomainStore';
|
||||
import { computed } from 'vue';
|
||||
import { useRoute } from 'vue-router';
|
||||
|
||||
const userStore = useAuthStore();
|
||||
const domainStore = useDomainStore();
|
||||
const route = useRoute()
|
||||
const domains = ref<IDomainInfo[]>([]);
|
||||
const domains = computed(() => domainStore.userDomains);
|
||||
|
||||
(async ()=>{
|
||||
domains.value = await userStore.getUserDomains();
|
||||
await domainStore.loadUserDomains();
|
||||
})();
|
||||
|
||||
const isUnclickable = computed(()=>{
|
||||
|
||||
Reference in New Issue
Block a user