mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
added mark as default changes in estimate and invoice template
This commit is contained in:
@ -108,6 +108,14 @@ export const useUserStore = (useWindow = false) => {
|
||||
this.currentUserSettings.language = data.settings.language
|
||||
global.locale = data.settings.language
|
||||
}
|
||||
if (data.settings.default_estimate_template) {
|
||||
this.currentUserSettings.default_estimate_template =
|
||||
data.settings.default_estimate_template
|
||||
}
|
||||
if (data.settings.default_invoice_template) {
|
||||
this.currentUserSettings.default_invoice_template =
|
||||
data.settings.default_invoice_template
|
||||
}
|
||||
resolve(response)
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
Reference in New Issue
Block a user