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