release v2.0.0 #4
|
@ -75,7 +75,11 @@ module.exports = {
|
||||||
|
|
||||||
// add your custom rules here
|
// add your custom rules here
|
||||||
rules: {
|
rules: {
|
||||||
'prefer-promise-reject-errors': 'off',
|
// VueStuff
|
||||||
|
'vue/multi-word-component-names': 'off',
|
||||||
|
|
||||||
|
// Misc
|
||||||
|
'prefer-promise-reject-errors': ["error", {"allowEmptyReject": true}],
|
||||||
|
|
||||||
// TypeScript
|
// TypeScript
|
||||||
quotes: ['warn', 'single', { avoidEscape: true }],
|
quotes: ['warn', 'single', { avoidEscape: true }],
|
||||||
|
|
|
@ -81,7 +81,7 @@ export const useMainStore = defineStore({
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
return false;
|
return false;
|
||||||
} finally {
|
} finally {
|
||||||
this.handleLoggedOut( );
|
this.handleLoggedOut();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// THIS FEATURE-FLAG FILE IS AUTOGENERATED,
|
// THIS FEATURE-FLAG FILE IS AUTOGENERATED,
|
||||||
// REMOVAL OR CHANGES WILL CAUSE RELATED TYPES TO STOP WORKING
|
// REMOVAL OR CHANGES WILL CAUSE RELATED TYPES TO STOP WORKING
|
||||||
import "quasar/dist/types/feature-flag";
|
import 'quasar/dist/types/feature-flag';
|
||||||
|
|
||||||
declare module "quasar/dist/types/feature-flag" {
|
declare module 'quasar/dist/types/feature-flag' {
|
||||||
interface QuasarFeatureFlags {
|
interface QuasarFeatureFlags {
|
||||||
cordova: true;
|
cordova: true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
// THIS FEATURE-FLAG FILE IS AUTOGENERATED,
|
// THIS FEATURE-FLAG FILE IS AUTOGENERATED,
|
||||||
// REMOVAL OR CHANGES WILL CAUSE RELATED TYPES TO STOP WORKING
|
// REMOVAL OR CHANGES WILL CAUSE RELATED TYPES TO STOP WORKING
|
||||||
import "quasar/dist/types/feature-flag";
|
import 'quasar/dist/types/feature-flag';
|
||||||
|
|
||||||
declare module "quasar/dist/types/feature-flag" {
|
declare module 'quasar/dist/types/feature-flag' {
|
||||||
interface QuasarFeatureFlags {
|
interface QuasarFeatureFlags {
|
||||||
electron: true;
|
electron: true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {computed} from 'vue';
|
import { computed } from 'vue';
|
||||||
import { LocalStorage } from 'quasar';
|
import { LocalStorage } from 'quasar';
|
||||||
|
|
||||||
const config = {
|
const config = {
|
||||||
|
@ -6,9 +6,7 @@ const config = {
|
||||||
pollingInterval: 30000,
|
pollingInterval: 30000,
|
||||||
};
|
};
|
||||||
|
|
||||||
const baseURL = computed(() =>
|
const baseURL = computed(() => LocalStorage.getItem<string>('baseURL') || config.baseURL);
|
||||||
LocalStorage.getItem<string>('baseURL') || config.baseURL
|
|
||||||
);
|
|
||||||
|
|
||||||
export {baseURL}
|
export { baseURL };
|
||||||
export default config;
|
export default config;
|
||||||
|
|
Loading…
Reference in New Issue