mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-29 18:50:07 +00:00
fix: enable jira for new project when all settings are provided
This commit is contained in:
parent
228a75b2e9
commit
d8e4fa757d
1 changed files with 5 additions and 2 deletions
|
|
@ -20,7 +20,10 @@ export class DialogJiraInitialSetupComponent {
|
|||
this.jiraCfg = this.data.jiraCfg;
|
||||
}
|
||||
|
||||
saveJiraCfg($event) {
|
||||
this._matDialogRef.close($event);
|
||||
saveJiraCfg(cfg: JiraCfg) {
|
||||
this._matDialogRef.close({
|
||||
...cfg,
|
||||
isEnabled: !!(cfg && cfg.host && cfg.userName && cfg.password),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue