Compare commits

...

2 Commits

Author SHA1 Message Date
PikachuEXE
69d64aa55f
- Remove useless prop 2023-11-23 08:42:59 +08:00
PikachuEXE
050eddce94
! Fix vue warning 2023-11-23 08:21:51 +08:00
4 changed files with 1 additions and 12 deletions

View File

@ -18,11 +18,6 @@ export default defineComponent({
id: {
type: String,
default: ''
},
tabindex: {
type: Number,
// Relies on template to not output tabindex on values < -1
default: -2,
},
}
}
})

View File

@ -2,7 +2,6 @@
<button
:id="id.length > 0 ? id : null"
class="btn ripple"
:tabindex="tabindex >= -1 ? tabindex : null"
:style="{
color: textColor,
backgroundColor: backgroundColor,

View File

@ -20,12 +20,10 @@
<ft-flex-box>
<ft-button
:label="$t('User Playlists.CreatePlaylistPrompt.Create')"
:tabindex="0"
@click="createNewPlaylist"
/>
<ft-button
:label="$t('User Playlists.Cancel')"
:tabindex="0"
@click="hideCreatePlaylistPrompt"
/>
</ft-flex-box>

View File

@ -51,17 +51,14 @@
<ft-flex-box>
<ft-button
:label="$t('User Playlists.Create New Playlist')"
tabindex="0"
@click="openCreatePlaylistPrompt"
/>
<ft-button
:label="$t('User Playlists.AddVideoPrompt.Save')"
tabindex="0"
@click="addSelectedToPlaylists"
/>
<ft-button
:label="$t('User Playlists.Cancel')"
tabindex="0"
@click="hide"
/>
</ft-flex-box>