Primary action to the right of the notification box (#1234)

This commit is contained in:
Francesco Spissu 2022-07-20 16:49:30 +02:00 committed by GitHub
parent 71d5a1520a
commit 5087ff08f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -237,6 +237,16 @@ export class BoardsAutoInstaller implements FrontendApplicationContribution {
);
const actions: AutoInstallPromptActions = [
{
key: manualInstall,
handler: () => {
this.boardsManagerFrontendContribution
.openView({ reveal: true })
.then((widget) =>
widget.refresh(candidate.name.toLocaleLowerCase())
);
},
},
{
isAcceptance: true,
key: yes,
@ -250,16 +260,6 @@ export class BoardsAutoInstaller implements FrontendApplicationContribution {
});
},
},
{
key: manualInstall,
handler: () => {
this.boardsManagerFrontendContribution
.openView({ reveal: true })
.then((widget) =>
widget.refresh(candidate.name.toLocaleLowerCase())
);
},
},
];
return actions;