modal
This commit is contained in:
@@ -13,11 +13,14 @@ const detailType = (item) => {
|
||||
console.log(item); //simpan pinia
|
||||
navigateTo(`/Setting/typeUser/HakAkses`);
|
||||
};
|
||||
const dialog = ref(false);
|
||||
|
||||
// const dialog = ref(false);
|
||||
const detail = ref(false);
|
||||
</script>
|
||||
<!-- ini list -->
|
||||
<template>
|
||||
<div class="d-flex pt-6 align-center justify-end">
|
||||
<v-btn class="mr-16" color="primary" variant="tonal" @click="detail= !detail"><v-icon>mdi-plus</v-icon> Tipe User</v-btn>
|
||||
</div>
|
||||
<v-row no-gutters>
|
||||
<div class="d-flex justify-space-between">
|
||||
<template v-if="typeUser && typeUser.length > 0">
|
||||
@@ -32,4 +35,5 @@ const dialog = ref(false);
|
||||
</template>
|
||||
</div>
|
||||
</v-row>
|
||||
<MasterModal :dialog="detail" @dialog="detail = $event"/>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user