From dfed210470b1038e28c8da08fb627f852dc52a40 Mon Sep 17 00:00:00 2001
From: Xiao Gui <xgui3783@gmail.com>
Date: Wed, 6 Sep 2023 09:03:53 +0200
Subject: [PATCH] maint: minor fixes after merging

---
 src/atlasComponents/sapi/sapi.service.ts | 2 +-
 src/features/entry/entry.component.ts    | 7 ++++++-
 src/features/module.ts                   | 3 +++
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/atlasComponents/sapi/sapi.service.ts b/src/atlasComponents/sapi/sapi.service.ts
index c372ac1a8..7cd9209fb 100644
--- a/src/atlasComponents/sapi/sapi.service.ts
+++ b/src/atlasComponents/sapi/sapi.service.ts
@@ -22,7 +22,7 @@ export const useViewer = {
 } as const
 
 export const SIIBRA_API_VERSION_HEADER_KEY='x-siibra-api-version'
-export const EXPECTED_SIIBRA_API_VERSION = '0.3.12'
+export const EXPECTED_SIIBRA_API_VERSION = '0.3.13'
 
 let BS_ENDPOINT_CACHED_VALUE: Observable<string> = null
 
diff --git a/src/features/entry/entry.component.ts b/src/features/entry/entry.component.ts
index 7d97756dd..f3c1b9d1e 100644
--- a/src/features/entry/entry.component.ts
+++ b/src/features/entry/entry.component.ts
@@ -11,6 +11,7 @@ import { combineLatest, concat, forkJoin, merge, of, Subject, Subscription } fro
 import { DsExhausted, IsAlreadyPulling, PulledDataSource } from 'src/util/pullable';
 import { TranslatedFeature } from '../list/list.directive';
 import { SPECIES_ENUM } from 'src/util/constants';
+import { MatDialog } from '@angular/material/dialog';
 
 const categoryAcc = <T extends Record<string, unknown>>(categories: T[]) => {
   const returnVal: Record<string, T[]> = {}
@@ -64,7 +65,7 @@ export class EntryComponent extends FeatureBase implements AfterViewInit, OnDest
   @ViewChildren(CategoryAccDirective)
   catAccDirs: QueryList<CategoryAccDirective>
 
-  constructor(private sapi: SAPI, private store: Store) {
+  constructor(private sapi: SAPI, private store: Store, private dialog: MatDialog) {
     super()
   }
 
@@ -247,4 +248,8 @@ export class EntryComponent extends FeatureBase implements AfterViewInit, OnDest
   pullAll(){
     this.#pullAll.next(null)
   }
+
+  openDialog(tmpl: TemplateRef<unknown>){
+    this.dialog.open(tmpl)
+  }
 }
diff --git a/src/features/module.ts b/src/features/module.ts
index 371e30d4a..3ccdbbd56 100644
--- a/src/features/module.ts
+++ b/src/features/module.ts
@@ -56,6 +56,9 @@ import { PlotlyComponent } from "./plotly";
     ReadmoreModule,
     MatDialogModule,
     
+    /**
+     * standalone components
+     */
     PlotlyComponent,
   ],
   declarations: [
-- 
GitLab