parent
d41d77fcd7
commit
949baa9b8b
15 changed files with 2 additions and 305 deletions
|
|
@ -43,7 +43,6 @@ import { provideMetadataReceiver, provideReactiveMetadata } from '@/page.js';
|
|||
import { openingWindowsCount } from '@/os.js';
|
||||
import { claimAchievement } from '@/utility/achievements.js';
|
||||
import { createRouter, mainRouter } from '@/router.js';
|
||||
import { analytics } from '@/analytics.js';
|
||||
import { DI } from '@/di.js';
|
||||
import { prefer } from '@/preferences.js';
|
||||
|
||||
|
|
@ -109,10 +108,6 @@ windowRouter.addListener('replace', ctx => {
|
|||
windowRouter.addListener('change', ctx => {
|
||||
if (_DEV_) console.log('windowRouter: change', ctx.fullPath);
|
||||
searchMarkerId.value = getSearchMarker(ctx.fullPath);
|
||||
analytics.page({
|
||||
path: ctx.fullPath,
|
||||
title: ctx.fullPath,
|
||||
});
|
||||
});
|
||||
|
||||
windowRouter.init();
|
||||
|
|
@ -176,11 +171,6 @@ function popout() {
|
|||
}
|
||||
|
||||
onMounted(() => {
|
||||
analytics.page({
|
||||
path: props.initialPath,
|
||||
title: props.initialPath,
|
||||
});
|
||||
|
||||
openingWindowsCount.value++;
|
||||
if (openingWindowsCount.value >= 3) {
|
||||
claimAchievement('open3windows');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue