Browse Source

fix linting

master
Trent Larson 3 weeks ago
parent
commit
0e52f4806f
  1. 11
      src/views/AccountViewView.vue

11
src/views/AccountViewView.vue

@ -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.";

Loading…
Cancel
Save