Skip to content

Commit

Permalink
Add a real condition
Browse files Browse the repository at this point in the history
Org field `read_only_quick_view_enabled`
  • Loading branch information
hlomzik committed Oct 23, 2024
1 parent 61f9730 commit 054627f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/libs/datamanager/src/sdk/lsf-sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ export class LSFWrapper {
onEntityCreate = (...args) => this.datamanager.invoke("onEntityCreate", ...args);
onEntityDelete = (...args) => this.datamanager.invoke("onEntityDelete", ...args);
onSelectAnnotation = (prevAnnotation, nextAnnotation, options) => {
if (!this.labelStream) {
if (window.APP_SETTINGS.read_only_quick_view_enabled && !this.labelStream) {
prevAnnotation?.setEditable(false);
}
if (isFF(FF_OPTIC_2) && !!nextAnnotation?.history?.undoIdx) {
Expand Down

0 comments on commit 054627f

Please sign in to comment.