diff options
author | bobzel <zzzman@gmail.com> | 2024-10-07 15:14:42 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2024-10-07 15:14:42 -0400 |
commit | 4364cb0db3988537f6b9485146a16bc15d55e3cc (patch) | |
tree | 48c324cd66b55912585dd506675e156697c58b38 /src/client/views/PropertiesView.tsx | |
parent | fbff73033b6c0f9b1214e9013c155ff085e7a737 (diff) | |
parent | 09b722789afa5d7c5edfc701978f17e4745113bc (diff) |
Merge branch 'master' into alyssa-starter
Diffstat (limited to 'src/client/views/PropertiesView.tsx')
-rw-r--r-- | src/client/views/PropertiesView.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/views/PropertiesView.tsx b/src/client/views/PropertiesView.tsx index 71d184497..371d34173 100644 --- a/src/client/views/PropertiesView.tsx +++ b/src/client/views/PropertiesView.tsx @@ -50,6 +50,7 @@ interface PropertiesViewProps { height: number; styleProvider?: StyleProviderFuncType; addDocTab: (doc: Doc, where: OpenWhere) => boolean; + addHotKey: (hotKey: string) => void; } @observer @@ -1279,7 +1280,7 @@ export class PropertiesView extends ObservableReactComponent<PropertiesViewProps return ( <PropertiesSection title="Filters" isOpen={this.openFilters} setIsOpen={action(bool => { this.openFilters = bool; })} onDoubleClick={this.CloseAll}> <div className="propertiesView-content filters" style={{ position: 'relative', height: 'auto' }}> - <FilterPanel Document={this.selectedDoc ?? Doc.ActiveDashboard!} /> + <FilterPanel Document={this.selectedDoc ?? Doc.ActiveDashboard!} addHotKey={this._props.addHotKey}/> </div> </PropertiesSection> ); // prettier-ignore |