mirror of
https://github.com/FreeTubeApp/FreeTube
synced 2024-11-22 01:45:40 +01:00
- Remove useless prop
This commit is contained in:
parent
050eddce94
commit
69d64aa55f
@ -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,
|
||||
},
|
||||
}
|
||||
}
|
||||
})
|
||||
|
@ -2,7 +2,6 @@
|
||||
<button
|
||||
:id="id.length > 0 ? id : null"
|
||||
class="btn ripple"
|
||||
:tabindex="tabindex >= -1 ? tabindex : null"
|
||||
:style="{
|
||||
color: textColor,
|
||||
backgroundColor: backgroundColor,
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user