Skip to content

Commit

Permalink
fix: use lock icon from mockup
Browse files Browse the repository at this point in the history
  • Loading branch information
a-cordier committed Jul 4, 2023
1 parent a33ba7c commit 19e6b61
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
6 changes: 6 additions & 0 deletions .files/icons/policy/lock.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions assets/icons/lock.svg

This file was deleted.

1 change: 1 addition & 0 deletions assets/icons/policy.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export class GvPolicyStudioMenu extends LitElement {
}
.policy-lock {
--gv-icon--s: 20px;
--gv-icon--s: 16px;
--gv-icon--c: #51438e;
}
Expand Down Expand Up @@ -629,7 +629,7 @@ export class GvPolicyStudioMenu extends LitElement {

_getLockIcon(policy) {
if (policy.deployed === false) {
return html`<gv-icon class="policy-lock" shape="general:lock"></gv-icon>`;
return html`<gv-icon class="policy-lock" shape="policy:lock"></gv-icon>`;
}
}

Expand Down Expand Up @@ -781,8 +781,7 @@ export class GvPolicyStudioMenu extends LitElement {
)
: ''}
</div>
<slot name="footer"></slot>
<gv-modal> </gv-modal>`;
<slot name="footer"></slot>`;
}
}

Expand Down

0 comments on commit 19e6b61

Please sign in to comment.