fix(data-rumah): Hide 'Tambah' button for Admin role

main-dlh
Regiaaaaaa 2025-11-25 10:50:35 +07:00
parent 811337e44f
commit ad806e21ca
1 changed files with 4 additions and 4 deletions

View File

@ -15,10 +15,10 @@
<h3 class="mb-2">Rumah</h3>
</div>
<div class="justify-self-end lg:self-center flex flex-wrap gap-3">
<button id="btn-tambah-rumah" type="button" class="btn btn-primary rounded-full text-white border-0">
@* <button id="btn-tambah-rumah" type="button" class="btn btn-primary rounded-full text-white border-0">
<span class="icon icon-fill me-2">add</span>
Tambah
</button>
</button> *@
<button class="btn rounded-full bg-white" onclick="modal_filter.showModal()">
<span class="icon icon-fill me-2">filter_list</span>
Filter
@ -26,7 +26,7 @@
</div>
</div>
<!-- Create Modal -->
@* <!-- Create Modal -->
<dialog id="modal_create" class="modal modal-bottom sm:modal-middle">
<div class="modal-box w-full sm:max-w-md">
<div class="flex items-start justify-between gap-4">
@ -65,7 +65,7 @@
</div>
</form>
</div>
</dialog>
</dialog> *@
<!-- Edit Modal -->
<dialog id="modal_edit" class="modal modal-bottom sm:modal-middle">