Skip to content

Commit

Permalink
Move Post and ParentalControlSettings components out of their folders
Browse files Browse the repository at this point in the history
  • Loading branch information
absidue committed Dec 2, 2024
1 parent 0a67938 commit 45df126
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
<script setup>
import { computed } from 'vue'
import FtSettingsSection from '../ft-settings-section/ft-settings-section.vue'
import FtToggleSwitch from '../ft-toggle-switch/ft-toggle-switch.vue'
import FtSettingsSection from './ft-settings-section/ft-settings-section.vue'
import FtToggleSwitch from './ft-toggle-switch/ft-toggle-switch.vue'
import store from '../../store/index'
import store from '../store/index'
const hideSearchBar = computed(() => {
return store.getters.getHideSearchBar
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import Playlist from '../views/Playlist/Playlist.vue'
import Channel from '../views/Channel/Channel.vue'
import Watch from '../views/Watch/Watch.vue'
import Hashtag from '../views/Hashtag/Hashtag.vue'
import Post from '../views/Post/Post.vue'
import Post from '../views/Post.vue'

Vue.use(Router)

Expand Down
15 changes: 9 additions & 6 deletions src/renderer/views/Post/Post.vue → src/renderer/views/Post.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,16 @@

<script setup>
import { computed, onMounted, ref, shallowRef, watch } from 'vue'
import FtCard from '../../components/ft-card/ft-card.vue'
import FtCommunityPost from '../../components/FtCommunityPost/FtCommunityPost.vue'
import FtLoader from '../../components/ft-loader/ft-loader.vue'
import CommentSection from '../../components/CommentSection/CommentSection.vue'
import store from '../../store/index'
import { useRoute, useRouter } from 'vue-router/composables'
import { getInvidiousCommunityPost } from '../../helpers/api/invidious'
import FtCard from '../components/ft-card/ft-card.vue'
import FtCommunityPost from '../components/FtCommunityPost/FtCommunityPost.vue'
import FtLoader from '../components/ft-loader/ft-loader.vue'
import CommentSection from '../components/CommentSection/CommentSection.vue'
import store from '../store/index'
import { getInvidiousCommunityPost } from '../helpers/api/invidious'
const router = useRouter()
const route = useRoute()
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/views/Settings/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import DataSettings from '../../components/data-settings/data-settings.vue'
import DistractionSettings from '../../components/distraction-settings/distraction-settings.vue'
import ProxySettings from '../../components/proxy-settings/proxy-settings.vue'
import SponsorBlockSettings from '../../components/sponsor-block-settings/sponsor-block-settings.vue'
import ParentalControlSettings from '../../components/ParentalControlSettings/ParentalControlSettings.vue'
import ParentalControlSettings from '../../components/ParentalControlSettings.vue'
import ExperimentalSettings from '../../components/ExperimentalSettings/ExperimentalSettings.vue'
import PasswordSettings from '../../components/PasswordSettings/PasswordSettings.vue'
import PasswordDialog from '../../components/PasswordDialog/PasswordDialog.vue'
Expand Down

0 comments on commit 45df126

Please sign in to comment.