Skip to content

Commit

Permalink
🐛 Fix: default picBed using picBed.uploader instead of picBed.current
Browse files Browse the repository at this point in the history
  • Loading branch information
Molunerfinn committed Apr 21, 2021
1 parent 69e1dc8 commit 0a986c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/utils/ConfirmButtonMixin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Component, Vue } from 'vue-property-decorator'
import { ipcRenderer } from 'electron'
@Component
export default class extends Vue {
defaultPicBed = this.$db.get('picBed.current')
defaultPicBed = this.$db.get('picBed.uploader') || this.$db.get('picBed.current') || 'smms'
setDefaultPicBed (type: string) {
this.letPicGoSaveData({
'picBed.current': type,
Expand Down

0 comments on commit 0a986c8

Please sign in to comment.