diff --git a/src/api.js b/src/api.js index 359cf7e..6ac4cd0 100644 --- a/src/api.js +++ b/src/api.js @@ -30,7 +30,7 @@ function parseWWWAuthenticate(text) { const cachedTokens = {}; async function doAuth(scope) { - if (cachedTokens[scope] !== null) { + if (cachedTokens[scope] !== undefined) { return cachedTokens[scope]; } diff --git a/src/views/Tag.vue b/src/views/Tag.vue index 9ec5043..f4c20c0 100644 --- a/src/views/Tag.vue +++ b/src/views/Tag.vue @@ -28,7 +28,7 @@ {{ identifier(tag, i) }} {{ command(tag, i) }}