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

@ -2,7 +2,7 @@ import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { Highlight, HighlightAuto } from "ngx-highlightjs";
import { HighlightLineNumbers } from "ngx-highlightjs/line-numbers";
import { HighlightJsModule } from 'ngx-highlight-js';
import {
ButtonModule,
CardModule,
@ -13,6 +13,7 @@ import {
FormModule,
ToastModule,
} from "@coreui/angular";
import { BackupsRoutingModule } from "./backups-routing.module";
import { BackupsComponent } from "./backups.component";
import { GuiGridModule } from "@generic-ui/ngx-grid";
@ -48,6 +49,7 @@ import { ClipboardModule } from "@angular/cdk/clipboard";
UnifiedDiffComponent,
SideBySideDiffComponent,
ToastModule,
HighlightJsModule,
ClipboardModule
],
declarations: [BackupsComponent],