Fix up public id workaround flow/information

This commit is contained in:
John Bintz 2020-04-21 07:32:50 -04:00
parent 5dff305a54
commit d164fedb9d
2 changed files with 9 additions and 8 deletions

View File

@ -90,13 +90,13 @@ lib64/ld-linux-x86-64.so.2
opt/app
opt/app/.babelrc
opt/app/.cloudcmd.menu.js
opt/app/.nuxt/dist/0.nuxt.bundle.f2f0f05da0a6a435ee4c.js
opt/app/.nuxt/dist/0.nuxt.bundle.ef50340c3600ea7e30a7.js
opt/app/.nuxt/dist/1.nuxt.bundle.89a9958091c34dcc68ed.js
opt/app/.nuxt/dist/index.html
opt/app/.nuxt/dist/manifest.1e9ee1e14867bf29e7ca.js
opt/app/.nuxt/dist/manifest.7c112ec70f8b3c557a15.js
opt/app/.nuxt/dist/nuxt.bundle.dbf51a8ed53569a6c1b0.js
opt/app/.nuxt/dist/server-bundle.json
opt/app/.nuxt/dist/vendor.bundle.1e9ee1e14867bf29e7ca.js
opt/app/.nuxt/dist/vendor.bundle.7c112ec70f8b3c557a15.js
opt/app/.sandstorm/launcher.sh
opt/app/README.md
opt/app/node_modules/.bin/babel-node

View File

@ -2,13 +2,14 @@
<div>
<template v-if="isLoading">
<p>
Loading public site information...
Loading public site information. This may take a while!
This is <a href="https://github.com/sandstorm-io/sandstorm/pull/3292" target="_blank" rel="noopener">a known bug</a>.
</p>
</template>
<template v-else-if="loadError">
<p>
Unable to load public site information! Try restarting the grain.
This is a known bug.
This is <a href="https://github.com/sandstorm-io/sandstorm/pull/3292" target="_blank" rel="noopener">a known bug</a>.
</p>
</template>
<template v-else>
@ -135,6 +136,8 @@ unsafe= true
}
}
this.isLoading = false
setInterval(this.checkDirty, 5000)
},
head: {
@ -153,9 +156,7 @@ unsafe= true
this.domain = jsonResult.domain
} catch (e) {
console.error(e)
this.loadError = e
} finally {
this.isLoading = false
throw e
}
},
async commitLocal () {