test #101

Merged
klaus merged 7 commits from test into main 2026-05-07 06:49:41 +00:00
Showing only changes of commit c72e1c18df - Show all commits

View File

@@ -96,7 +96,10 @@
<th class="text-center"> <th class="text-center">
오픈 예정일 오픈 예정일
</th> </th>
<th class="text-center"> <th
v-if="isAdmin"
class="text-center"
>
관리 관리
</th> </th>
</tr> </tr>
@@ -214,7 +217,7 @@
</td> </td>
<td>{{ item.date }}</td> <td>{{ item.date }}</td>
<td>{{ item.releaseDate }}</td> <td>{{ item.releaseDate }}</td>
<td> <td v-if="isAdmin">
<v-row> <v-row>
<v-col> <v-col>
<v-btn <v-btn
@@ -527,6 +530,14 @@ export default {
}; };
}, },
computed: {
isAdmin() {
const role = (this.$store && this.$store.state && this.$store.state.accountStore && this.$store.state.accountStore.role)
|| (typeof localStorage !== 'undefined' ? localStorage.role : '');
return role === 'ADMIN';
},
},
async created() { async created() {
this.audio_content = { this.audio_content = {
id: null, id: null,