remove console logs
This commit is contained in:
parent
2290816e8b
commit
b564fc2d66
5 changed files with 0 additions and 8 deletions
|
|
@ -83,7 +83,6 @@ export const vuexPushNotificationsPlugin = (store) => {
|
||||||
mutation.type === 'setCurrentUser' ||
|
mutation.type === 'setCurrentUser' ||
|
||||||
mutation.type === 'clearCurrentUser'
|
mutation.type === 'clearCurrentUser'
|
||||||
) {
|
) {
|
||||||
console.log(!!user, permissionGranted, enabled)
|
|
||||||
if (user && permissionGranted && enabled) {
|
if (user && permissionGranted && enabled) {
|
||||||
return store.dispatch('registerPushNotifications')
|
return store.dispatch('registerPushNotifications')
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,8 @@ export const getJsonOrError = async (response) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
export const createApp = (instance) => {
|
export const createApp = (instance) => {
|
||||||
console.log('NAP', instance)
|
|
||||||
const url = `${instance}/api/v1/apps`
|
const url = `${instance}/api/v1/apps`
|
||||||
const form = new window.FormData()
|
const form = new window.FormData()
|
||||||
console.log(url)
|
|
||||||
|
|
||||||
form.append('client_name', 'PleromaFE')
|
form.append('client_name', 'PleromaFE')
|
||||||
form.append('website', 'https://pleroma.social')
|
form.append('website', 'https://pleroma.social')
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,6 @@ const generateTheme = (inputRuleset, callbacks, debug) => {
|
||||||
export const tryLoadCache = async () => {
|
export const tryLoadCache = async () => {
|
||||||
console.info('Trying to load compiled theme data from cache')
|
console.info('Trying to load compiled theme data from cache')
|
||||||
const cache = await localforage.getItem('pleromafe-theme-cache')
|
const cache = await localforage.getItem('pleromafe-theme-cache')
|
||||||
console.log(cache.checksum)
|
|
||||||
if (!cache) return null
|
if (!cache) return null
|
||||||
try {
|
try {
|
||||||
if (cache.engineChecksum === getEngineChecksum() &&
|
if (cache.engineChecksum === getEngineChecksum() &&
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,6 @@ export const useOAuthStore = defineStore('oauth', {
|
||||||
},
|
},
|
||||||
async getAppToken() {
|
async getAppToken() {
|
||||||
const instance = useInstanceStore().server
|
const instance = useInstanceStore().server
|
||||||
console.log(this.clientId)
|
|
||||||
const res = await getClientToken({
|
const res = await getClientToken({
|
||||||
clientId: this.clientId,
|
clientId: this.clientId,
|
||||||
clientSecret: this.clientSecret,
|
clientSecret: this.clientSecret,
|
||||||
|
|
|
||||||
|
|
@ -80,7 +80,6 @@ export const _moveItemInArray = (array, value, movement) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
const _wrapData = (data, userName) => {
|
const _wrapData = (data, userName) => {
|
||||||
console.log('WRAP')
|
|
||||||
return {
|
return {
|
||||||
...data,
|
...data,
|
||||||
_user: userName,
|
_user: userName,
|
||||||
|
|
@ -414,8 +413,6 @@ export const _resetPrefs = (
|
||||||
}
|
}
|
||||||
|
|
||||||
export const _doMigrations = async (data, setPreference) => {
|
export const _doMigrations = async (data, setPreference) => {
|
||||||
console.log('TEST', data._version)
|
|
||||||
|
|
||||||
if (data._version < VERSION) {
|
if (data._version < VERSION) {
|
||||||
console.debug(
|
console.debug(
|
||||||
'Data has older version, seeing if there any migrations that can be applied',
|
'Data has older version, seeing if there any migrations that can be applied',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue