style: fix linting issues met Prettier
This commit is contained in:
parent
064897acd5
commit
25cb1d248f
5 changed files with 7 additions and 11 deletions
|
@ -2,12 +2,10 @@ export enum Redirect {
|
|||
AFTER_LOGIN_KEY = "redirectAfterLogin",
|
||||
HOME = "/user",
|
||||
LOGIN = "/login",
|
||||
ROOT = "/"
|
||||
ROOT = "/",
|
||||
}
|
||||
|
||||
const NOT_ALLOWED_REDIRECTS = new Set<Redirect>([
|
||||
Redirect.HOME, Redirect.ROOT, Redirect.LOGIN
|
||||
]);
|
||||
const NOT_ALLOWED_REDIRECTS = new Set<Redirect>([Redirect.HOME, Redirect.ROOT, Redirect.LOGIN]);
|
||||
|
||||
export function allowRedirect(path: string): boolean {
|
||||
return !NOT_ALLOWED_REDIRECTS.has(path as Redirect);
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<using-query-result :query-result="themeQueryResult">
|
||||
<h1>{{ currentThemeInfo!!.title }}</h1>
|
||||
<p>{{ currentThemeInfo!!.description }}</p>
|
||||
<br>
|
||||
<br />
|
||||
<div class="search-field-container mt-sm-6">
|
||||
<v-text-field
|
||||
class="search-field mx-auto"
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
|
||||
<template>
|
||||
<div class="search-page-container d-flex flex-column align-items-center justify-center">
|
||||
|
||||
<div class="search-field-container">
|
||||
<learning-path-search-field class="mx-auto" />
|
||||
</div>
|
||||
|
@ -40,7 +39,6 @@
|
|||
:text="t('enterSearchTermDescription')"
|
||||
/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue