Added state card hiding to the STATE view on the frontend.

This commit is contained in:
Ryan Kraus 2015-04-14 23:55:08 -04:00
parent 0334074a52
commit caed69d5ea
4 changed files with 23 additions and 258 deletions

View File

@ -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

View File

@ -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() {

View File

@ -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