mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 22:53:35 +02:00
Don't render both lists at once, and remember which list was selected (just like before). Some refactoring here would be nice.
This commit is contained in:
@@ -8,7 +8,7 @@ module.exports = function DeviceListEmptyDirective() {
|
||||
, link: function (scope) {
|
||||
var tracker = scope.tracker()
|
||||
|
||||
scope.empty = true
|
||||
scope.empty = !tracker.devices.length
|
||||
|
||||
function update() {
|
||||
var oldEmpty = scope.empty
|
||||
|
||||
Reference in New Issue
Block a user