⬆️ Updates rsup-progress to 3.0.0
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
<script>
|
||||
import axios from 'axios';
|
||||
import ProgressBar from 'rsup-progress';
|
||||
import { Progress } from 'rsup-progress';
|
||||
import ErrorHandler from '@/utils/ErrorHandler';
|
||||
|
||||
export default {
|
||||
@@ -44,7 +44,7 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
appVersion: process.env.VUE_APP_VERSION, // Current version, from package.json
|
||||
progress: new ProgressBar({ color: 'var(--progress-bar)' }),
|
||||
progress: new Progress({ color: 'var(--progress-bar)' }),
|
||||
latestVersion: '', // Will store latest version, when request returns
|
||||
checksEnabled: true, // Should we check for updates
|
||||
isUpToDate: true, // Is current version === latest version
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
<script>
|
||||
// Import libraries
|
||||
import sha256 from 'crypto-js/sha256';
|
||||
import ProgressBar from 'rsup-progress';
|
||||
import { Progress } from 'rsup-progress';
|
||||
// Import form elements
|
||||
import Button from '@/components/FormElements/Button';
|
||||
import Input from '@/components/FormElements/Input';
|
||||
@@ -86,7 +86,7 @@ export default {
|
||||
restorePassword: '',
|
||||
restoreCode: '',
|
||||
backupId: localStorage[localStorageKeys.BACKUP_ID] || '',
|
||||
progress: new ProgressBar({ color: 'var(--progress-bar)' }),
|
||||
progress: new Progress({ color: 'var(--progress-bar)' }),
|
||||
};
|
||||
},
|
||||
components: { // UI components / icons
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
<script>
|
||||
|
||||
import axios from 'axios';
|
||||
import ProgressBar from 'rsup-progress';
|
||||
import { Progress } from 'rsup-progress';
|
||||
import VJsoneditor from 'v-jsoneditor';
|
||||
import jsYaml from 'js-yaml';
|
||||
import ErrorHandler, { InfoHandler, InfoKeys } from '@/utils/ErrorHandler';
|
||||
@@ -83,7 +83,7 @@ export default {
|
||||
},
|
||||
responseText: '',
|
||||
saveSuccess: undefined,
|
||||
progress: new ProgressBar({ color: 'var(--progress-bar)' }),
|
||||
progress: new Progress({ color: 'var(--progress-bar)' }),
|
||||
saveOptions: [
|
||||
{ label: this.$t('config-editor.location-disk-label'), value: 'file' },
|
||||
{ label: this.$t('config-editor.location-local-label'), value: 'local' },
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
<script>
|
||||
import axios from 'axios';
|
||||
import ProgressBar from 'rsup-progress';
|
||||
import { Progress } from 'rsup-progress';
|
||||
import Button from '@/components/FormElements/Button';
|
||||
import RebuildIcon from '@/assets/interface-icons/application-rebuild.svg';
|
||||
import ReloadIcon from '@/assets/interface-icons/application-reload.svg';
|
||||
@@ -74,7 +74,7 @@ export default {
|
||||
output: '',
|
||||
message: '',
|
||||
allowRebuild: true,
|
||||
progress: new ProgressBar({ color: 'var(--progress-bar)' }),
|
||||
progress: new Progress({ color: 'var(--progress-bar)' }),
|
||||
}),
|
||||
methods: {
|
||||
/* Calls to the rebuild endpoint, to kickoff the app build */
|
||||
|
||||
Reference in New Issue
Block a user