Skip to content

Commit

Permalink
[web] fix discovery (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmann authored Jan 20, 2023
2 parents 529c847 + 126954c commit 54cb512
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@

## mytoken 0.7.2

### Bugfixes

- Fixed a bug in the webinterface where the metadata discovery was broken.

## mytoken 0.7.1

### Bugfixes
Expand Down
3 changes: 2 additions & 1 deletion internal/server/web/static/js/discovery.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const configElements = [

function discovery(...next) {
try {
if (storageGet('discovery') !== null) {
const discovery = storageGet('discovery');
if (discovery !== null && discovery !== undefined) {
doNext(...next);
return;
}
Expand Down

0 comments on commit 54cb512

Please sign in to comment.