mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +00:00
Added state card hiding to the STATE view on the frontend.
This commit is contained in:
parent
0334074a52
commit
caed69d5ea
@ -1,2 +1,2 @@
|
||||
""" DO NOT MODIFY. Auto-generated by build_frontend script """
|
||||
VERSION = "1e004712440afc642a44ad927559587e"
|
||||
VERSION = "9e21c99d2991dd288287d3d3bc3e64e0"
|
||||
|
File diff suppressed because one or more lines are too long
@ -143,8 +143,9 @@
|
||||
return !(state.domain in uiConstants.STATE_FILTERS);
|
||||
});
|
||||
}
|
||||
|
||||
this.states = states.toArray();
|
||||
|
||||
this.states = states.toArray().filter(
|
||||
function (el) {return !el.attributes.hidden});
|
||||
},
|
||||
|
||||
handleRefreshClick: function() {
|
||||
|
@ -34,5 +34,5 @@ if [ $(command -v md5) ]; then
|
||||
elif [ $(command -v md5sum) ]; then
|
||||
echo 'VERSION = "'`md5sum www_static/frontend.html | cut -c-32`'"' >> version.py
|
||||
else
|
||||
echo 'Could not find a MD5 utility'
|
||||
echo 'Could not find an MD5 utility'
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user