Skip to content

Commit

Permalink
refactor(ontology): disable ontology graph view (DSP-1560) (#427)
Browse files Browse the repository at this point in the history
* refactor(ontology): disable ontology graph view (DSP-1560)

* chore(ontology): update comment
  • Loading branch information
kilchenmann committed Apr 22, 2021
1 parent 4dd23d3 commit 0a567d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
@@ -1 +1,2 @@
<app-visualizer [graphInfo]="graphInfo"></app-visualizer>
<!-- DSP-1560: disable graph view in ontology editor -->
<!-- <app-visualizer [graphInfo]="graphInfo"></app-visualizer> -->
3 changes: 2 additions & 1 deletion src/app/project/ontology/ontology.component.html
Expand Up @@ -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'"
Expand All @@ -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"
Expand Down

0 comments on commit 0a567d2

Please sign in to comment.