Add filtering to gallery
This commit is contained in:
parent
e1e8cef8af
commit
a5828fbf41
6 changed files with 52 additions and 37 deletions
|
|
@ -170,11 +170,6 @@ class SmartScanThing(OFMThing):
|
|||
# Register with gallery.
|
||||
_show_data_in_gallery = True
|
||||
|
||||
@property
|
||||
def gallery_data_name(self) -> str:
|
||||
"""Name under which data shows up in gallery."""
|
||||
return "Scans"
|
||||
|
||||
@property
|
||||
def gallery_data_schema(self) -> type[scan_directories.ScanInfo]:
|
||||
"""The schema (BaseModel) for passing data to the gallery."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue