Skip to content

Commit

Permalink
Remove Legacy things
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaraCrazy committed Sep 9, 2024
1 parent 5b47bee commit 2960d4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion frontend/src/composables/page-title.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { isNil } from '@/utils/validation';
/**
* This composable handles the page title of the application.
*/
const DEFAULT_PAGE_TITLE = 'Jellyfin Vue';
const DEFAULT_PAGE_TITLE = 'Sluthub Vue';
const _title = shallowRef<string>();
const _fullTitle = computed(() => _title.value ? `${_title.value.trim()} | ${DEFAULT_PAGE_TITLE}` : DEFAULT_PAGE_TITLE);

Expand Down
11 changes: 0 additions & 11 deletions frontend/src/plugins/router/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,6 @@ router.back = (): ReturnType<typeof router.back> => {
);
};

/**
* Handle page title changes
*/
const pageTitle = computed(() => {
const title = router.currentRoute.value.meta.title?.trim();

return title ? `${title} | Sluthub` : 'Sluthub';
});

useTitle(pageTitle);

/**
* Re-run the middleware pipeline when the user logs out or state is cleared
*/
Expand Down

0 comments on commit 2960d4b

Please sign in to comment.