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"> <p class="text-xs text-muted-foreground">
<ScrambleText <ScrambleText
ref="zerooneSubtitle" ref="zerooneSubtitle"
text="Haptic Configuration Tool" scramble-on-mount scramble-amount="1" fill-interval="35" text="Haptic Configuration Tool" scramble-on-mount :scramble-amount="1" :fill-interval="35"
replace-interval="40" /> :replace-interval="40" />
</p> </p>
</div> </div>
<MenubarMenu> <MenubarMenu>

View File

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

View File

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

View File

@@ -24,7 +24,7 @@
maxlength="50" /> maxlength="50" />
<Label for="textarea" class="text-muted-foreground text-right mt-1 text-xs">24/50</Label> <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"> <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 <Label
for="airplane-mode" for="airplane-mode"
class="text-xs text-muted-foreground">{{ class="text-xs text-muted-foreground">{{

View File

@@ -32,7 +32,7 @@
<div v-if="filteredProfiles.length === 0"> <div v-if="filteredProfiles.length === 0">
<div class="flex flex-col items-center justify-center h-32"> <div class="flex flex-col items-center justify-center h-32">
<ScrambleText <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')" /> :text="$t('profiles.not_found')" />
</div> </div>
</div> </div>