Skip to content

Commit

Permalink
Clean up unused template refs
Browse files Browse the repository at this point in the history
  • Loading branch information
absidue committed Jan 20, 2025
1 parent d35174e commit c61d45e
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/renderer/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@
>
<!-- <keep-alive> -->
<RouterView
ref="router"
class="routerView"
/>
<!-- </keep-alive> -->
Expand Down
1 change: 0 additions & 1 deletion src/renderer/components/SideNav/SideNav.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<template>
<FtFlexBox
ref="sideNav"
class="sideNav"
:class="[{closed: !isOpen}, applyHiddenLabels]"
role="navigation"
Expand Down
4 changes: 0 additions & 4 deletions src/renderer/components/ft-list-video/ft-list-video.js
Original file line number Diff line number Diff line change
Expand Up @@ -786,10 +786,6 @@ export default defineComponent({
this.addToPlaylistPromptCloseCallback = () => {
// Run once only
this.addToPlaylistPromptCloseCallback = null

// `thumbnailLink` is a `router-link`
// `focus()` can only be called on the actual element
this.$refs.addToPlaylistIcon?.$el?.focus()
}
},

Expand Down
1 change: 0 additions & 1 deletion src/renderer/components/ft-list-video/ft-list-video.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
<span class="playlistIcons">
<ft-icon-button
v-if="showPlaylists"
ref="addToPlaylistIcon"
:title="$t('User Playlists.Add to Playlist')"
:icon="['fas', 'plus']"
class="addToPlaylistIcon"
Expand Down
1 change: 0 additions & 1 deletion src/renderer/components/top-nav/top-nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@
<div
v-if="!hideSearchBar"
v-show="showSearchContainer"
ref="searchContainer"
class="searchContainer"
>
<ft-input
Expand Down

0 comments on commit c61d45e

Please sign in to comment.