adjust update badge color: having an update available is no danger

This commit is contained in:
Bernhard Kirchen 2024-08-23 17:07:00 +02:00
parent b115f946cd
commit 190e1eb0f9

View File

@ -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');