Skip to content
Permalink
Browse files
refactor(ontology): disable ontology graph view (DSP-1560) (#427)
* refactor(ontology): disable ontology graph view (DSP-1560)

* chore(ontology): update comment
  • Loading branch information
kilchenmann committed Apr 22, 2021
1 parent 4dd23d3 commit 0a567d2cfdba6a9824fe6707b3c1130877fc13d7
Showing with 4 additions and 2 deletions.
  1. +2 −1 src/app/project/ontology/ontology-visualizer/ontology-visualizer.component.html
  2. +2 −1 src/app/project/ontology/ontology.component.html
@@ -1 +1,2 @@
<app-visualizer [graphInfo]="graphInfo"></app-visualizer>
<!-- DSP-1560: disable graph view in ontology editor -->
<!-- <app-visualizer [graphInfo]="graphInfo"></app-visualizer> -->
@@ -79,6 +79,7 @@ <h2 class="mat-title">
<span class="fill-remaining-space"></span>

<!-- toggle view -->
<!-- DSP-1560: disable graph view option in ontology editor
<span class="ontology-actions">
<p class="mat-caption space-reducer">Display as</p>
<button mat-button [class.active]="view === 'classes' || view === 'properties'"
@@ -92,11 +93,11 @@ <h2 class="mat-title">
Graph
</button>
</span>
-->

<!-- edit options -->
<span class="ontology-actions">
<p class="mat-caption space-reducer">Data model configuration</p>
<!-- TODO: remove following span as soon edit mode is implemented; it's only for tooltip to use with disabled button -->
<span
[matTooltip]="(ontology.lastModificationDate ? 'Edit data model info' : 'This data model can\'t be edited because of missing lastModificationDate!')">
<button mat-button [disabled]="!ontology.lastModificationDate" [disabled]="!ontology.lastModificationDate"

0 comments on commit 0a567d2

Please sign in to comment.