Skip to content

Commit

Permalink
Update search.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
SalleeMatthew committed Jan 3, 2025
1 parent 0200c9e commit 6c88ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spa/src/pages/admin/place/search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<td v-show="type === 'home' || type === 'club'" class="p-4">{{ place.username }}</td>
<td v-show="type === 'shop' && place.status === 1" class="p-4" style="color: limegreen; font-weight: bold;">{{ status[place.status] }}</td>
<td v-show="type === 'shop' && place.status === 0" class="p-4" style="color: gray;"><i>{{ status[place.status] }}</i></td>
<td class="p-4" v-if="accessLevel.includes('security') || ['colony', 'hood', 'block', 'home'].includes(type)">
<td class="p-4" v-if="accessLevel.includes('security') && ['home'].includes(type) || accessLevel.includes('admin')">
<button class="btn-ui" @click="updateName(place.id, place.name)">Edit Name</button>
<button class="btn-ui" @click="updateDesc(place.id, place.description)">Edit Desc</button>
<br v-show="type === 'shop'" />
Expand Down

0 comments on commit 6c88ca5

Please sign in to comment.