fix:#53 linted formatted frontend files

This commit is contained in:
Elmar Kresse
2024-09-07 10:09:30 +02:00
parent a9234cbb16
commit fcbe5c0c55
115 changed files with 14849 additions and 11152 deletions

View File

@@ -14,7 +14,11 @@
//You should have received a copy of the GNU Affero General Public License
//along with this program. If not, see <https://www.gnu.org/licenses/>.
import { createMemoryHistory, RouterOptions, createWebHistory } from "vue-router";
import {
createMemoryHistory,
RouterOptions,
createWebHistory,
} from "vue-router";
const CourseSelection = () => import("../view/CourseSelection.vue");
const AdditionalModules = () => import("../view/create/AdditionalModules.vue");
@@ -28,8 +32,10 @@ const EditAdditionalModules = () =>
const EditModules = () => import("../view/edit/EditModules.vue");
const FaqView = () => import("../view/FaqView.vue");
const routes : RouterOptions = {
history: import.meta.env.SSR ? createMemoryHistory(import.meta.env.BASE_URL) : createWebHistory(import.meta.env.BASE_URL),
const routes: RouterOptions = {
history: import.meta.env.SSR
? createMemoryHistory(import.meta.env.BASE_URL)
: createWebHistory(import.meta.env.BASE_URL),
routes: [
{
path: "/",
@@ -64,7 +70,7 @@ const routes : RouterOptions = {
meta: {
label: "faq",
description: "faqView.description",
}
},
},
{
path: "/additional-modules",
@@ -72,7 +78,7 @@ const routes : RouterOptions = {
component: AdditionalModules,
meta: {
label: "createCalendar",
}
},
},
{
path: "/edit-additional-modules",
@@ -80,8 +86,8 @@ const routes : RouterOptions = {
component: EditAdditionalModules,
meta: {
label: "editCalendar",
description: "editCalendarView.description"
}
description: "editCalendarView.description",
},
},
{
path: "/edit-calendar",
@@ -89,16 +95,16 @@ const routes : RouterOptions = {
component: EditModules,
meta: {
label: "editCalendar",
description: "editCalendarView.description"
}
description: "editCalendarView.description",
},
},
{
path: "/calendar-link",
name: "calendar-link",
component: CalendarLink,
meta: {
label: "createCalendar"
}
label: "createCalendar",
},
},
{
path: "/edit",
@@ -106,8 +112,8 @@ const routes : RouterOptions = {
component: EditCalendarView,
meta: {
label: "editCalendar",
description: "editCalendarView.description"
}
description: "editCalendarView.description",
},
},
{
path: "/privacy-policy",
@@ -115,8 +121,9 @@ const routes : RouterOptions = {
component: {},
meta: {
label: "privacy",
redirect: "https://www.htwk-leipzig.de/hochschule/kontakt/datenschutzerklaerung/",
}
redirect:
"https://www.htwk-leipzig.de/hochschule/kontakt/datenschutzerklaerung/",
},
},
{
path: "/imprint",
@@ -125,15 +132,15 @@ const routes : RouterOptions = {
meta: {
label: "imprint",
redirect: "https://www.htwk-leipzig.de/hochschule/kontakt/impressum/",
}
},
},
{
path: "/rename-modules",
name: "rename-modules",
component: RenameModules,
meta: {
label: "createCalendar"
}
label: "createCalendar",
},
},
],
};