Skip to content

Commit 5373348

Browse files
committed
use on_dataset_open hook
1 parent 4a3b0bf commit 5373348

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

plugins/utils/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ delegate(
266266

267267
When this operator is enabled, any dataset whose `info` dict contains the name
268268
of a valid saved view in its `default_view` key will load the specified view by
269-
default (rather than the full dataset) whenever that dataset is loaded in the
269+
default (rather than the full dataset) whenever that dataset is opened in the
270270
App.
271271

272272
```py

plugins/utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2056,7 +2056,7 @@ def config(self):
20562056
return foo.OperatorConfig(
20572057
name="load_default_view",
20582058
label="Load default view",
2059-
on_startup=True,
2059+
on_dataset_open=True,
20602060
)
20612061

20622062
def execute(self, ctx):

0 commit comments

Comments
 (0)