-
diff --git a/src/Ombi/ClientApp/src/app/discover/discover.component.scss b/src/Ombi/ClientApp/src/app/discover/discover.component.scss
index a1ae23db7..4fc5ac7d6 100644
--- a/src/Ombi/ClientApp/src/app/discover/discover.component.scss
+++ b/src/Ombi/ClientApp/src/app/discover/discover.component.scss
@@ -6,4 +6,9 @@
.small-middle-container{
margin: auto;
width: 95%;
+}
+
+.small-padding {
+ padding-left: 5px;
+ padding-right: 5px;
}
\ No newline at end of file
diff --git a/src/Ombi/ClientApp/src/app/discover/discover.module.ts b/src/Ombi/ClientApp/src/app/discover/discover.module.ts
index 7e9cb9494..6a1818fb5 100644
--- a/src/Ombi/ClientApp/src/app/discover/discover.module.ts
+++ b/src/Ombi/ClientApp/src/app/discover/discover.module.ts
@@ -8,6 +8,8 @@ import { DiscoverComponent } from "./discover.component";
import { DiscoverCardComponent } from "./card/discover-card.component";
import { AuthGuard } from "../auth/auth.guard";
import { PipeModule } from "../pipes/pipe.module";
+import { DiscoverCardDetailsComponent } from "./card/discover-card-details.component";
+import { MatDialog } from "@angular/material";
const routes: Routes = [
{ path: "", component: DiscoverComponent, canActivate: [AuthGuard] },
@@ -20,13 +22,18 @@ const routes: Routes = [
],
declarations: [
DiscoverComponent,
- DiscoverCardComponent
+ DiscoverCardComponent,
+ DiscoverCardDetailsComponent,
+ ],
+ entryComponents: [
+ DiscoverCardDetailsComponent
],
exports: [
RouterModule,
],
providers: [
- SearchService
+ SearchService,
+ MatDialog,
],
})
diff --git a/src/Ombi/ClientApp/src/app/shared/shared.module.ts b/src/Ombi/ClientApp/src/app/shared/shared.module.ts
index 32abf33ae..34678f4b7 100644
--- a/src/Ombi/ClientApp/src/app/shared/shared.module.ts
+++ b/src/Ombi/ClientApp/src/app/shared/shared.module.ts
@@ -11,7 +11,7 @@ import { InputSwitchModule, SidebarModule } from "primeng/primeng";
import {
MatButtonModule, MatNativeDateModule, MatIconModule, MatSidenavModule, MatListModule, MatToolbarModule, MatTooltipModule} from '@angular/material';
- import { MatCardModule, MatInputModule, MatTabsModule, MatAutocompleteModule, MatCheckboxModule, MatExpansionModule } from "@angular/material";
+ import { MatCardModule, MatInputModule, MatTabsModule, MatAutocompleteModule, MatCheckboxModule, MatExpansionModule, MatDialogModule } from "@angular/material";
@NgModule({
declarations: [
@@ -36,6 +36,7 @@ import {
MatToolbarModule,
MatCheckboxModule,
MatExpansionModule,
+ MatDialogModule,
],
exports: [
TranslateModule,
@@ -58,6 +59,7 @@ import {
MatAutocompleteModule,
MatCheckboxModule,
MatExpansionModule,
+ MatDialogModule,
],
})
export class SharedModule {}