Skip to content

Commit

Permalink
feat(cc-ssh-key-list): 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 Jul 3, 2023
1 parent 7d3b06e commit 496d77d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/cc-ssh-key-list/cc-ssh-key-list.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import '../cc-badge/cc-badge.js';
import '../cc-icon/cc-icon.js';
import '../cc-img/cc-img.js';
import '../cc-input-text/cc-input-text.js';
import '../cc-notice/cc-notice.js';
import '../cc-block/cc-block.js';
import '../cc-block-section/cc-block-section.js';
import { css, html, LitElement } from 'lit';
Expand Down Expand Up @@ -223,7 +224,7 @@ export class CcSshKeyList extends LitElement {
` : ''}
${state === 'error' ? html`
<p class="info-msg">${i18n('cc-ssh-key-list.error.loading')}</p>
<cc-notice intent="warning" message="${i18n('cc-ssh-key-list.error.loading')}"></cc-notice>
` : ''}
</cc-block-section>
Expand Down Expand Up @@ -253,7 +254,7 @@ export class CcSshKeyList extends LitElement {
` : ''}
${state === 'error' ? html`
<p class="info-msg">${i18n('cc-ssh-key-list.error.loading')}</p>
<cc-notice intent="warning" message="${i18n('cc-ssh-key-list.error.loading')}"></cc-notice>
` : ''}
</cc-block-section>
Expand Down

0 comments on commit 496d77d

Please sign in to comment.