[#87] Remove mock code for interface dev

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2023-06-14 10:57:14 +02:00
parent 21c4fa4a8f
commit 9798b4c635
Signed by: luzifer
GPG key ID: D91C3E91E4CAD6F5

View file

@ -270,15 +270,8 @@ export default {
window.setTimeout(() => this.$refs.secretUrl.focus(), 100) window.setTimeout(() => this.$refs.secretUrl.focus(), 100)
}) })
.catch(err => { .catch(err => {
switch (err.response.status) {
case 404:
// Mock for interface testing
this.secretId = 'foobar'
break
default:
this.error = this.$t('alert-something-went-wrong') this.error = this.$t('alert-something-went-wrong')
this.showError = true this.showError = true
}
})) }))
return false return false