Replace code viewer and fix bug backups not howing when it is huge

This commit is contained in:
sepehr 2024-08-26 11:01:34 +03:30
parent 860489726f
commit 0d6bdabcbc
6 changed files with 35 additions and 17 deletions

View file

@ -20,7 +20,6 @@ import { MikroWizardProvider } from './providers/mikrowizard/provider';
import { dataProvider } from './providers/mikrowizard/data';
import { loginChecker } from './providers/login_checker';
import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
import { provideHighlightOptions, Highlight, HighlightAuto } from 'ngx-highlightjs';
import {
AvatarModule,
@ -98,10 +97,6 @@ export function loginStatusProviderFactory(provider: loginChecker) {
loginChecker,
IconSetService,
provideDateFnsAdapter(),
provideHighlightOptions({
fullLibraryLoader: () => import('highlight.js'),
lineNumbersLoader: () => import('ngx-highlightjs/line-numbers')
}),
{
provide: APP_INITIALIZER,
useFactory: loginStatusProviderFactory,