- Remove useless prop

This commit is contained in:
PikachuEXE 2023-11-23 08:42:59 +08:00
parent 050eddce94
commit 69d64aa55f
No known key found for this signature in database
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>