-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* fix(frontend): bump versions of vulnerable npm dependencies * chore: bump Vue plugins from 3.1.x to 4.5.x * fixing frontend docker build Co-authored-by: gbolo <george.bolo@gmail.com>
- Loading branch information
Showing
16 changed files
with
11,213 additions
and
8,797 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module.exports = { | ||
presets: [ | ||
'@vue/app', | ||
'@vue/cli-plugin-babel/preset', | ||
], | ||
}; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,5 +8,5 @@ Vue.config.productionTip = false; | |
|
||
new Vue({ | ||
store, | ||
render: h => h(App), | ||
render: (h) => h(App), | ||
}).$mount('#app'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
export const isAppLoading = state => state.isLoading; | ||
export const isEnvironmentLoading = state => id => state.environmentsLoading[id] === true; | ||
export const isInstanceLoading = state => id => state.instancesLoading[id] === true; | ||
export const isAppLoading = (state) => state.isLoading; | ||
export const isEnvironmentLoading = (state) => (id) => state.environmentsLoading[id] === true; | ||
export const isInstanceLoading = (state) => (id) => state.instancesLoading[id] === true; | ||
|
||
const isEnvironmentStateStatus = (vState, envId, status) => { | ||
const env = vState.environments.find(x => x.id === envId); | ||
const env = vState.environments.find((x) => x.id === envId); | ||
if (!env) { | ||
return false; | ||
} | ||
return env.state === status; | ||
}; | ||
|
||
export const isEnvironmentStateRunning = vState => id => isEnvironmentStateStatus(vState, id, 'running'); | ||
export const isEnvironmentStateStopped = vState => id => isEnvironmentStateStatus(vState, id, 'stopped'); | ||
export const isEnvironmentStateMixed = vState => id => isEnvironmentStateStatus(vState, id, 'mixed'); | ||
export const isEnvironmentStateChanging = vState => id => isEnvironmentStateStatus(vState, id, 'changing'); | ||
export const isEnvironmentStateRunning = (vState) => (id) => isEnvironmentStateStatus(vState, id, 'running'); | ||
export const isEnvironmentStateStopped = (vState) => (id) => isEnvironmentStateStatus(vState, id, 'stopped'); | ||
export const isEnvironmentStateMixed = (vState) => (id) => isEnvironmentStateStatus(vState, id, 'mixed'); | ||
export const isEnvironmentStateChanging = (vState) => (id) => isEnvironmentStateStatus(vState, id, 'changing'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters