frontend update + fixes

http-comm
Ondřej Hruška 7 years ago
parent 565b2113a5
commit 2ba04b92d7
  1. 4
      build_web.sh
  2. 2
      front-end
  3. 2
      showmem.php

@ -4,9 +4,7 @@ echo "-- Preparing WWW files --"
[[ -e html ]] && rm -r html
cd front-end
ESP_PROD=1 sh ./build.sh
cd ..
ESP_PROD=1 front-end/build.sh
echo "Copying from submodule..."

@ -1 +1 @@
Subproject commit 9db61f0c1a0d3b19e62e3913954b28941faedc03
Subproject commit b2174fc528d2766eb82d1e828d70bb432d4ea949

@ -23,7 +23,7 @@ foreach ($pieces as $piece) {
}
}
if ($argv[1]) {
if (isset($argv[1])) {
$key = $argv[1];
uasort($table, function($a, $b) use ($key) {
$av = $a[$key] ?? 0;

Loading…
Cancel
Save