Skip to content

Commit 2211c05

Browse files
committed
Fix a Prettier parse error
Note, in Vuetify 4, we can use `item.raw` instead of `internalItem`.
1 parent ef72e99 commit 2211c05

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

web/src/components/sidebars/LayerStyle.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ onMounted(resetCurrentStyle)
963963
<template v-slot:item="{ props, item }">
964964
<v-list-item v-bind="props">
965965
<template v-slot:append>
966-
<v-chip size="small" v-if="(item.raw as Record<string, any>).sample_label">{{ (item.raw as Record<string, any>).sample_label }}</v-chip>
966+
<v-chip size="small" v-if="(item.raw as any).sample_label">{{ (item.raw as any).sample_label }}</v-chip>
967967
</template>
968968
</v-list-item>
969969
</template>
@@ -1207,9 +1207,9 @@ onMounted(resetCurrentStyle)
12071207
hide-details
12081208
>
12091209
<template v-slot:item="{ props, item }">
1210-
<v-list-item v-bind="props" :disabled="!(item.raw as Record<string, any>).range">
1210+
<v-list-item v-bind="props" :disabled="!(item.raw as any).range">
12111211
<template v-slot:append>
1212-
<v-chip size="small" v-if="(item.raw as Record<string, any>).sample_label">{{ (item.raw as Record<string, any>).sample_label }}</v-chip>
1212+
<v-chip size="small" v-if="(item.raw as any).sample_label">{{ (item.raw as any).sample_label }}</v-chip>
12131213
</template>
12141214
</v-list-item>
12151215
</template>
@@ -1328,7 +1328,7 @@ onMounted(resetCurrentStyle)
13281328
<template v-slot:item="{ props, item }">
13291329
<v-list-item v-bind="props">
13301330
<template v-slot:append>
1331-
<v-chip size="small" v-if="(item.raw as Record<string, any>).sample_label">{{ (item.raw as Record<string, any>).sample_label }}</v-chip>
1331+
<v-chip size="small" v-if="(item.raw as any).sample_label">{{ (item.raw as any).sample_label }}</v-chip>
13321332
</template>
13331333
</v-list-item>
13341334
</template>

0 commit comments

Comments
 (0)