if (!this.authService.isLoggedIn()) return undefined
const value = this.authService.getRequestHeaderValue()
- return { 'Authorization': value }
+ return { Authorization: value }
},
notifier: {
},
showModal: (input: {
- title: string,
- content: string,
- close?: boolean,
- cancel?: { value: string, action?: () => void },
+ title: string
+ content: string
+ close?: boolean
+ cancel?: { value: string, action?: () => void }
confirm?: { value: string, action?: () => void }
}) => {
this.zone.run(() => this.customModal.show(input))