|
|
@ -264,9 +264,7 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- User Profile --> |
|
|
|
<div |
|
|
|
class="bg-slate-100 rounded-md overflow-hidden px-4 py-4 mt-8 mb-8" |
|
|
|
> |
|
|
|
<div class="bg-slate-100 rounded-md overflow-hidden px-4 py-4 mt-8 mb-8"> |
|
|
|
<div v-if="loadingProfile" class="text-center mb-2"> |
|
|
|
<fa icon="spinner" class="fa-spin text-slate-400"></fa> Loading |
|
|
|
profile... |
|
|
@ -1582,15 +1580,12 @@ export default class AccountViewView extends Vue { |
|
|
|
"Got 400 or 404 response retrieving limits which probably means they're not registered:", |
|
|
|
error, |
|
|
|
); |
|
|
|
this.limitsMessage = "No limits found, so no actions are allowed."; |
|
|
|
this.limitsMessage = "No limits were found, so no actions are allowed."; |
|
|
|
} else { |
|
|
|
const data = error.response?.data as ErrorResponse; |
|
|
|
this.limitsMessage = |
|
|
|
(data?.error?.message as string) || "Bad server response."; |
|
|
|
console.log( |
|
|
|
"Got bad response retrieving limits:", |
|
|
|
error, |
|
|
|
); |
|
|
|
console.error("Got bad response retrieving limits:", error); |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.limitsMessage = "Got an error retrieving limits."; |
|
|
|