mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 23:06:40 +00:00
Show update available in addon store
This commit is contained in:
parent
015e7bc51d
commit
d2a56655d0
@ -65,7 +65,12 @@ Polymer({
|
||||
},
|
||||
|
||||
computeInstallStatus: function (addon) {
|
||||
return addon.installed || 'Not installed';
|
||||
if (!addon.installed) {
|
||||
return 'Not installed';
|
||||
} else if (addon.installed !== addon.version) {
|
||||
return addon.installed + ' (update available)';
|
||||
}
|
||||
return addon.installed;
|
||||
},
|
||||
|
||||
addonTapped: function (ev) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user