merge
This commit is contained in:
parent
af8c2d436b
commit
8fa55baf98
|
@ -0,0 +1,3 @@
|
||||||
|
export default function(user: { name?: string | null, username: string }): string {
|
||||||
|
return user.name || user.username;
|
||||||
|
}
|
|
@ -8,7 +8,7 @@ import { swLang } from '@/sw/lang';
|
||||||
import { swNotificationRead } from '@/sw/notification-read';
|
import { swNotificationRead } from '@/sw/notification-read';
|
||||||
import { pushNotificationDataMap } from '@/sw/types';
|
import { pushNotificationDataMap } from '@/sw/types';
|
||||||
import * as swos from './operations';
|
import * as swos from './operations';
|
||||||
import { getAcct } from '@/scripts/acct';
|
import { acct as getAcct } from '@/filters/user';
|
||||||
|
|
||||||
//#region Lifecycle: Install
|
//#region Lifecycle: Install
|
||||||
self.addEventListener('install', ev => {
|
self.addEventListener('install', ev => {
|
||||||
|
|
Loading…
Reference in New Issue