Skip to content

Commit b947d6a

Browse files
Make prettier happy
Signed-off-by: Christian Wolf <[email protected]>
1 parent 82f64f1 commit b947d6a

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

src/components/AppNavi.vue

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,17 +280,26 @@ export default {
280280
.catch((e2) => {
281281
$this.downloading = false
282282
283-
if(e2.response) {
284-
if(e2.response.status >= 400 && e2.response.status < 500) {
283+
if (e2.response) {
284+
if (
285+
e2.response.status >= 400 &&
286+
e2.response.status < 500
287+
) {
285288
// eslint-disable-next-line no-alert
286289
alert(e2.response.data)
287290
} else {
288291
console.error(e2)
289-
alert(t("cookbook", "The server reported an error. Please check."))
292+
alert(
293+
// prettier-ignore
294+
t("cookbook","The server reported an error. Please check.")
295+
)
290296
}
291297
} else {
292298
console.error(e2)
293-
alert(t('cookbook', 'Could not query the server. This might be a network problem.'))
299+
alert(
300+
// prettier-ignore
301+
t("cookbook", "Could not query the server. This might be a network problem.")
302+
)
294303
}
295304
})
296305
},

0 commit comments

Comments
 (0)