Skip to content

Commit

Permalink
Use raised for update button in update dialog (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Nov 6, 2021
1 parent efd9b87 commit 7cc3c26
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions src/components/dialogs/hacs-update-dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,19 +144,24 @@ export class HacsUpdateDialog extends HacsDialogBase {
slot="primaryaction"
?disabled=${!repository.can_install}
@click=${this._updateRepository}
>${
raised
>
${
this._updating
? html`<ha-circular-progress active size="small"></ha-circular-progress>`
: this.hacs.localize("common.update")
}</mwc-button
}
</mwc-button
>
<div class="secondary" slot="secondaryaction">
<hacs-link .url=${this._getChanglogURL()}
><mwc-button>${this.hacs.localize("dialog_update.changelog")}</mwc-button></hacs-link
>
<hacs-link .url="https://github.com/${repository.full_name}"
><mwc-button>${this.hacs.localize("common.repository")}</mwc-button></hacs-link
>
<hacs-link .url=${this._getChanglogURL()}>
<mwc-button>${this.hacs.localize("dialog_update.changelog")}
</mwc-button>
</hacs-link>
<hacs-link .url="https://github.com/${repository.full_name}">
<mwc-button>${this.hacs.localize("common.repository")}
</mwc-button>
</hacs-link>
</div>
</hacs-dialog>
`;
Expand Down

0 comments on commit 7cc3c26

Please sign in to comment.