adjust update badge color: having an update available is no danger
This commit is contained in:
parent
b115f946cd
commit
190e1eb0f9
@ -92,7 +92,7 @@ export default defineComponent({
|
|||||||
.then((data) => {
|
.then((data) => {
|
||||||
if (data.total_commits > 0) {
|
if (data.total_commits > 0) {
|
||||||
this.systemDataList.update_text = this.$t('systeminfo.VersionNew');
|
this.systemDataList.update_text = this.$t('systeminfo.VersionNew');
|
||||||
this.systemDataList.update_status = 'text-bg-danger';
|
this.systemDataList.update_status = 'text-bg-warning';
|
||||||
this.systemDataList.update_url = data.html_url;
|
this.systemDataList.update_url = data.html_url;
|
||||||
} else {
|
} else {
|
||||||
this.systemDataList.update_text = this.$t('systeminfo.VersionOk');
|
this.systemDataList.update_text = this.$t('systeminfo.VersionOk');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user