FIX: Type mismatches

This commit is contained in:
Robert Kossessa
2024-01-28 14:57:23 +01:00
parent dc26894dbe
commit 03588fb2be
5 changed files with 6 additions and 6 deletions

View File

@@ -12,8 +12,8 @@
<p class="text-xs text-muted-foreground">
<ScrambleText
ref="zerooneSubtitle"
text="Haptic Configuration Tool" scramble-on-mount scramble-amount="1" fill-interval="35"
replace-interval="40" />
text="Haptic Configuration Tool" scramble-on-mount :scramble-amount="1" :fill-interval="35"
:replace-interval="40" />
</p>
</div>
<MenubarMenu>

View File

@@ -39,7 +39,7 @@ defineProps({
default: 'MISSING_TITLE',
},
iconComponent: {
type: [String, Object],
type: [String, Object, Function],
default: undefined,
},
showToggle: {

View File

@@ -23,7 +23,7 @@ defineProps({
default: '',
},
icon: {
type: String,
type: [String, Object, Function],
default: '',
},
selected: {

View File

@@ -24,7 +24,7 @@
maxlength="50" />
<Label for="textarea" class="text-muted-foreground text-right mt-1 text-xs">24/50</Label>
<div class="flex items-center space-x-4 space-y-1">
<Switch id="airplane-mode" default-checked="true" />
<Switch id="airplane-mode" :default-checked="true" />
<Label
for="airplane-mode"
class="text-xs text-muted-foreground">{{

View File

@@ -32,7 +32,7 @@
<div v-if="filteredProfiles.length === 0">
<div class="flex flex-col items-center justify-center h-32">
<ScrambleText
scramble-on-mount fill-interval="5" class="text-sm text-muted-foreground"
scramble-on-mount :fill-interval="5" class="text-sm text-muted-foreground"
:text="$t('profiles.not_found')" />
</div>
</div>