File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
apps/web/app/components/admin Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
2
import type { Speaker , Sponsor } from ' @vuejs-jp/model'
3
+ import { useSponsor } from ' ~/composables/useSponsor'
3
4
import { ref } from ' vue'
4
5
5
6
interface SponsorListProps {
@@ -11,6 +12,8 @@ const emit = defineEmits<{ edit: [id: string] }>()
11
12
12
13
const props = defineProps <SponsorListProps >()
13
14
15
+ const { isMoreSilver } = useSponsor ()
16
+
14
17
const showDialog = ref (false )
15
18
const sponsorId = ref (' ' )
16
19
const handleDialog = (id ? : string ) => {
@@ -68,8 +71,8 @@ const handleDialog = (id?: string) => {
68
71
</p >
69
72
</td >
70
73
<td >
71
- <p >{{ sponsor.description_ja }}</p >
72
- <p >{{ sponsor.description_en }}</p >
74
+ <p >{{ isMoreSilver( sponsor.tag) ? sponsor. description_ja : '設定不要' }}</p >
75
+ <p >{{ isMoreSilver( sponsor.tag) ? sponsor. description_en : '設定不要' }}</p >
73
76
</td >
74
77
<td style =" max-width : 200px ; white-space : nowrap ; overflow : hidden ; text-overflow : ellipsis ;" >
75
78
{{ sponsor.link_url }}
You can’t perform that action at this time.
0 commit comments