mirror of
https://github.com/discourse/discourse.git
synced 2024-12-19 10:39:01 +08:00
DEV: update deprecated icon names in themes-grid-card (#30162)
This commit is contained in:
parent
0f2033dd69
commit
e55d4f0c5c
|
@ -41,7 +41,7 @@ export default class ThemeCard extends Component {
|
|||
}
|
||||
|
||||
get footerActionIcon() {
|
||||
return this.args.theme.isPendingUpdates ? "sync" : "ellipsis-h";
|
||||
return this.args.theme.isPendingUpdates ? "arrows-rotate" : "ellipsis";
|
||||
}
|
||||
|
||||
// NOTE: inspired by -> https://github.com/discourse/discourse/blob/24caa36eef826bcdaed88aebfa7df154413fb349/app/assets/javascripts/admin/addon/controllers/admin-customize-themes-show.js#L366
|
||||
|
@ -179,7 +179,7 @@ export default class ThemeCard extends Component {
|
|||
@preventFocus={{true}}
|
||||
@icon={{if
|
||||
@theme.default
|
||||
"far-check-square"
|
||||
"far-square-check"
|
||||
"far-square"
|
||||
}}
|
||||
class="theme-card__button"
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
&.--updating .d-icon-sync {
|
||||
&.--updating .d-icon-arrows-rotate {
|
||||
animation: rotate 3s linear infinite;
|
||||
margin-right: 0.45em;
|
||||
@keyframes rotate {
|
||||
|
|
Loading…
Reference in New Issue
Block a user