Fix more linter issues
This commit is contained in:
parent
8077d9d999
commit
cbb1b853b5
|
@ -348,7 +348,7 @@ const actions = {
|
|||
},
|
||||
|
||||
showToast (_, payload) {
|
||||
FtToastEvents.$emit('toast.open', payload.message, payload.action, payload.time)
|
||||
FtToastEvents.$emit('toast-open', payload.message, payload.action, payload.time)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -467,12 +467,12 @@ a:visited {
|
|||
|
||||
::-webkit-scrollbar {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: var(--scrollbar-color);
|
||||
border-radius: 6px;
|
||||
height: 6px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
|
|
|
@ -30,6 +30,10 @@ export default Vue.extend({
|
|||
'watch-video-playlist': WatchVideoPlaylist,
|
||||
'watch-video-recommendations': WatchVideoRecommendations
|
||||
},
|
||||
beforeRouteLeave: function (to, from, next) {
|
||||
this.handleRouteChange()
|
||||
next()
|
||||
},
|
||||
data: function() {
|
||||
return {
|
||||
isLoading: false,
|
||||
|
@ -883,9 +887,5 @@ export default Vue.extend({
|
|||
'updateHistory',
|
||||
'updateWatchProgress'
|
||||
])
|
||||
},
|
||||
beforeRouteLeave: function (to, from, next) {
|
||||
this.handleRouteChange()
|
||||
next()
|
||||
}
|
||||
})
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
:is-upcoming="isUpcoming"
|
||||
class="watchVideo"
|
||||
:class="{ theatreWatchVideo: useTheatreMode }"
|
||||
@theatreMode="toggleTheatreMode"
|
||||
@theatre-mode="toggleTheatreMode"
|
||||
/>
|
||||
<watch-video-description
|
||||
v-if="!isLoading"
|
||||
|
@ -86,14 +86,14 @@
|
|||
:description-html="videoDescriptionHtml"
|
||||
class="watchVideo"
|
||||
:class="{ theatreWatchVideo: useTheatreMode }"
|
||||
@timestampEvent="changeTimestamp"
|
||||
@timestamp-event="changeTimestamp"
|
||||
/>
|
||||
<watch-video-comments
|
||||
v-if="!isLoading && !isLive"
|
||||
:id="videoId"
|
||||
class="watchVideo"
|
||||
:class="{ theatreWatchVideo: useTheatreMode }"
|
||||
@timestampEvent="changeTimestamp"
|
||||
@timestamp-event="changeTimestamp"
|
||||
/>
|
||||
</div>
|
||||
<div class="sidebarArea">
|
||||
|
|
Loading…
Reference in New Issue