mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-10 10:56:34 +00:00
Hass.io: hide add-on update button if detached
This commit is contained in:
parent
b6f7dea455
commit
e0787ab60f
@ -108,7 +108,7 @@ Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
computeUpdateAvailable: function (data) {
|
computeUpdateAvailable: function (data) {
|
||||||
return data && data.version !== data.last_version;
|
return data && !data.detached && data.version !== data.last_version;
|
||||||
},
|
},
|
||||||
|
|
||||||
pathStart: function (addon) {
|
pathStart: function (addon) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user