Skip to content

Commit

Permalink
feat(cc-addon-backups): make use of the cc-notice instead of cc-error
Browse files Browse the repository at this point in the history
  • Loading branch information
Galimede committed Jun 30, 2023
1 parent 02300b3 commit 422815c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/cc-addon-backups/cc-addon-backups.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import '../cc-button/cc-button.js';
import '../cc-input-text/cc-input-text.js';
import '../cc-block-section/cc-block-section.js';
import '../cc-block/cc-block.js';
import '../cc-error/cc-error.js';
import '../cc-notice/cc-notice.js';
import { css, html, LitElement } from 'lit';
import { classMap } from 'lit/directives/class-map.js';
import {
Expand Down Expand Up @@ -261,7 +261,7 @@ export class CcAddonBackups extends LitElement {
` : ''}
${this.error ? html`
<cc-error>${i18n('cc-addon-backups.loading-error')}</cc-error>
<cc-notice intent="warning" message="${i18n('cc-addon-backups.loading-error')}"></cc-notice>
` : ''}
<!-- The restore and delete overlays are quite similar but's it's easier to read with a big if and some copy/paste than 8 ifs -->
Expand Down

0 comments on commit 422815c

Please sign in to comment.