Skip to content

Commit

Permalink
Hide devicesElm in case all devices get removed
Browse files Browse the repository at this point in the history
  • Loading branch information
incon committed Nov 4, 2017
1 parent 48de6cc commit fe850bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/app.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions resources/assets/js/components/devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ $(function () {
type: 'GET'
}).done(function (response) {
if (response.length === 0) {
devicesElm.hide();
emptyElm.show();
return;
}
Expand Down

0 comments on commit fe850bc

Please sign in to comment.