This commit is contained in:
Flatlogic Bot 2026-01-16 08:25:30 +00:00
parent 225d90e70c
commit c76293c757
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
/// <reference types="next" /> /// <reference types="next" />
/// <reference types="next/image-types/global" /> /// <reference types="next/image-types/global" />
/// <reference path="./build/types/routes.d.ts" /> /// <reference path="./.next/types/routes.d.ts" />
// NOTE: This file should not be edited // NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information. // see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

View File

@ -45,7 +45,7 @@ const menuAside: MenuAsideItem[] = [
label: 'Lessons', label: 'Lessons',
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore // @ts-ignore
icon: 'mdiFileDocumentBox' in icon ? icon['mdiFileDocumentBox' as keyof typeof icon] : icon.mdiTable ?? icon.mdiTable, icon: 'mdiFileDocumentOutline' in icon ? icon['mdiFileDocumentOutline' as keyof typeof icon] : icon.mdiTable ?? icon.mdiTable,
permissions: 'READ_LESSONS' permissions: 'READ_LESSONS'
}, },
{ {

View File

@ -36,7 +36,7 @@ import ImageField from "../../components/ImageField";
const CoursesEdit = () => { const CoursesEdit = () => {
const router = useRouter() const router = useRouter()
const dispatch = useAppAppDispatch() const dispatch = useAppDispatch()
const initVals = { const initVals = {
@ -796,7 +796,7 @@ const CoursesEdit = () => {
) )
} }
EditCourses.getLayout = function getLayout(page: ReactElement) { CoursesEdit.getLayout = function getLayout(page: ReactElement) {
return ( return (
<LayoutAuthenticated <LayoutAuthenticated

View File

@ -269,7 +269,7 @@ const Dashboard = () => {
size={48} size={48}
// eslint-disable-next-line @typescript-eslint/ban-ts-comment // eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore // @ts-ignore
path={'mdiFileDocumentBox' in icon ? icon['mdiFileDocumentBox' as keyof typeof icon] : icon.mdiTable || icon.mdiTable} path={'mdiFileDocumentOutline' in icon ? icon['mdiFileDocumentOutline' as keyof typeof icon] : icon.mdiTable || icon.mdiTable}
/> />
</div> </div>
</div> </div>