forked from trent_larson/crowd-funder-for-time-pwa
fix linting
This commit is contained in:
@@ -264,9 +264,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- User Profile -->
|
<!-- User Profile -->
|
||||||
<div
|
<div class="bg-slate-100 rounded-md overflow-hidden px-4 py-4 mt-8 mb-8">
|
||||||
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">
|
<div v-if="loadingProfile" class="text-center mb-2">
|
||||||
<fa icon="spinner" class="fa-spin text-slate-400"></fa> Loading
|
<fa icon="spinner" class="fa-spin text-slate-400"></fa> Loading
|
||||||
profile...
|
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:",
|
"Got 400 or 404 response retrieving limits which probably means they're not registered:",
|
||||||
error,
|
error,
|
||||||
);
|
);
|
||||||
this.limitsMessage = "No limits found, so no actions are allowed.";
|
this.limitsMessage = "No limits were found, so no actions are allowed.";
|
||||||
} else {
|
} else {
|
||||||
const data = error.response?.data as ErrorResponse;
|
const data = error.response?.data as ErrorResponse;
|
||||||
this.limitsMessage =
|
this.limitsMessage =
|
||||||
(data?.error?.message as string) || "Bad server response.";
|
(data?.error?.message as string) || "Bad server response.";
|
||||||
console.log(
|
console.error("Got bad response retrieving limits:", error);
|
||||||
"Got bad response retrieving limits:",
|
|
||||||
error,
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.limitsMessage = "Got an error retrieving limits.";
|
this.limitsMessage = "Got an error retrieving limits.";
|
||||||
|
|||||||
Reference in New Issue
Block a user