From e7c95ab91b0480a4ec5cde8fe98e380c69714208 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Thu, 7 May 2026 15:23:27 +0900 Subject: [PATCH] =?UTF-8?q?fix(content):=20ADMIN=20=EA=B6=8C=ED=95=9C?= =?UTF-8?q?=EC=97=90=EC=84=9C=EB=A7=8C=20=ED=85=8C=EB=A7=88=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=20API=20=ED=98=B8=EC=B6=9C=ED=95=98=EB=8F=84=EB=A1=9D?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ContentList.vue의 created 훅에서 isAdmin 검사 후 getAudioContentThemeList 조건부 호출. 불필요한 API 호출 방지 및 권한 준수. --- src/views/Content/ContentList.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/Content/ContentList.vue b/src/views/Content/ContentList.vue index e8eba9b..b0e0a6f 100644 --- a/src/views/Content/ContentList.vue +++ b/src/views/Content/ContentList.vue @@ -550,7 +550,10 @@ export default { is_settlement_ratio_deleted: false, settlement_ratio: "", }; - await this.getAudioContentThemeList(); + // ADMIN 권한일 때만 테마 리스트 조회 + if (this.isAdmin) { + await this.getAudioContentThemeList(); + } await this.getAudioContent(); },