itube-specs 0.0.614 → 0.0.615

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,4 +16,4 @@ export const useFavorites = () => {
16
16
  favoritesFirstVideoId,
17
17
  favoritesLink,
18
18
  };
19
- };
19
+ };
@@ -46,7 +46,6 @@ export function useNavigationItems() {
46
46
  }] : []),
47
47
  ...(FeatureFlags.FeatureFavoritesEnabled ? [{
48
48
  title: 'favorites',
49
- link: favLink,
50
49
  icon: 'heart',
51
50
  top: true,
52
51
  childs: [
@@ -116,6 +116,10 @@ export const useUser = (apiService) => {
116
116
  const profile = useState<IProfileData | null>('profileData');
117
117
  profile.value = null;
118
118
 
119
+ const { favoritesId, favoritesFirstVideoId } = useFavorites();
120
+ favoritesId.value = null;
121
+ favoritesFirstVideoId.value = null;
122
+
119
123
  const router = useRouter();
120
124
  router.push(generateLink('/'));
121
125
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itube-specs",
3
3
  "type": "module",
4
- "version": "0.0.614",
4
+ "version": "0.0.615",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  export interface INavigationItems {
2
2
  title: string
3
- link: string
3
+ link?: string
4
4
  icon?: string
5
5
  accent?: string
6
6
  top?: boolean