logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 26bfbdc2add0c116c66b10e82f0814d180cc98c9
parent 50ea6dd142980c517f8c3c0daa1f59d74c945aba
Author: Henry Jameson <me@hjkos.com>
Date:   Fri, 18 Mar 2022 11:02:00 +0200

fix sw compilation

Diffstat:

Msrc/sw.js6++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/sw.js b/src/sw.js @@ -3,12 +3,10 @@ import localForage from 'localforage' import { parseNotification } from './services/entity_normalizer/entity_normalizer.service.js' import { prepareNotificationObject } from './services/notification_utils/notification_utils.js' -import Vue from 'vue' -import VueI18n from 'vue-i18n' +import { createI18n } from 'vue-i18n' import messages from './i18n/service_worker_messages.js' -Vue.use(VueI18n) -const i18n = new VueI18n({ +const i18n = createI18n({ // By default, use the browser locale, we will update it if neccessary locale: 'en', fallbackLocale: 'en',