Skip to content

Commit

Permalink
hide document create view
Browse files Browse the repository at this point in the history
  • Loading branch information
datomo committed Jul 3, 2024
1 parent 6a890b6 commit 8df3d99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/components/data-view/data-view.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ export class DataViewComponent implements OnDestroy {
}

checkModelAndLanguage() {
return (this.$result().dataModel === DataModel.DOCUMENT && [QueryLanguage.MQL, QueryLanguage.MONGO].includes(this.$result().language)) ||
(this.$result().dataModel === DataModel.RELATIONAL && this.$result().language === QueryLanguage.SQL);
return (this.$result().dataModel === DataModel.RELATIONAL && this.$result().language === QueryLanguage.SQL);
}

showCreateView() {
Expand Down

0 comments on commit 8df3d99

Please sign in to comment.