Skip to content

Commit

Permalink
chore: log cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Bassett <[email protected]>
  • Loading branch information
cadriel committed Mar 21, 2021
1 parent b502a5f commit 45e1396
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 28 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"release.major": "npm run release -- --release-as major",
"release.rc": "npm run release -- --prerelease rc",
"deploy.host": "potato -s dist -u -b app.fluidd.xyz -a \"$AWS_ACCESS_KEY_ID\" -t \"$AWS_SECRET_ACCESS_KEY\"",
"deploy.host.dev": "potato -s dist -u -b dev.fluidd.xyz",
"deploy.host.dev": "potato -s dist -u -b dev-app.fluidd.xyz",
"copy.host.config": "shx cp -f ./server/config.json ./dist/config.json"
},
"main": "index.js",
Expand Down
1 change: 0 additions & 1 deletion src/components/widgets/settings/GeneralSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ export default class GeneralSettingsCard extends Mixins(StateMixin) {
}
setInstanceName (value: string) {
console.log('got this', value)
if (this.instanceNameElement.valid) this.$store.dispatch('config/updateInstance', value)
}
Expand Down
2 changes: 1 addition & 1 deletion src/socketActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ export const SocketActions = {
let dispatch = 'history/onDelete'
if (uid === 'all') {
params = { all: true }
dispatch = 'history/deleteAll'
dispatch = 'history/onDeleteAll'
}
baseEmit(
'server.history.delete_job', {
Expand Down
24 changes: 0 additions & 24 deletions src/store/config/mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,30 +111,6 @@ export const mutations: MutationTree<ConfigState> = {
* otherwise they will not be reactive.
*/
setSaveByPath (state, payload: SaveByPath) {
// let path = ''
// let key: string | undefined = payload.path
// let o = state
// if (payload.path.indexOf('.') >= 0) {
// const split = payload.path.split('.')
// const i = split.length
// if (i >= 2) {
// key = split.pop()
// path = split.join('.')
// if (key) o = get(state[path], key)
// // console.log(path, key)
// } else {
// key = split[1]
// o = state[split[0]]
// }
// }

// uiSettings.camera
// uiSettings.general

// const o = get(state, payload.path)
// console.log('setting', o, key, payload.value)
// if (key) Vue.set(o, key, payload.value)
console.log('setting', payload.path, payload.value)
set(state, payload.path, payload.value)
},

Expand Down
1 change: 0 additions & 1 deletion src/store/history/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export const actions: ActionTree<HistoryState, RootState> = {
* History has changed, update the data.
*/
async onHistoryChange ({ commit }, payload: { action: string; job: HistoryItem }) {
console.log('got a change event for history.', payload)
if (
payload
) {
Expand Down

0 comments on commit 45e1396

Please sign in to comment.