diff options
| author | bobzel <zzzman@gmail.com> | 2020-09-21 20:42:51 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2020-09-21 20:42:51 -0400 |
| commit | 02029b5cad1c27e65630a63cd4d2b632ed6973cd (patch) | |
| tree | cd27677288326d9c8e88c6c988e1d5266265ee1a /src/client/views/search | |
| parent | 51aab84bc8814ea1be6aed3eca02da3ec00a280b (diff) | |
changed acls so that only an admin owner distributes them when a doc is added. changed default acls to be Add by default when not in private mode. restored filtering from search bar for developer mode.
Diffstat (limited to 'src/client/views/search')
| -rw-r--r-- | src/client/views/search/SearchBox.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/search/SearchBox.tsx b/src/client/views/search/SearchBox.tsx index 3238e4dc6..a6ac62ee4 100644 --- a/src/client/views/search/SearchBox.tsx +++ b/src/client/views/search/SearchBox.tsx @@ -530,10 +530,10 @@ export class SearchBox extends ViewBoxBaseComponent<FieldViewProps, SearchBoxDoc style={{ cursor: "hand", color: "black", padding: 1, position: "relative" }} /></div> </Tooltip> </div> - <div style={{ position: "absolute", left: 220, width: 30, zIndex: 9000, color: "grey", background: "white", }}> + <div style={{ position: "absolute", left: Doc.UserDoc().noviceMode ? 220 : 200, width: 30, zIndex: 9000, color: "grey", background: "white", }}> {`${this._results.length}` + " of " + `${this.realTotalResults}`} </div> - {/* <div style={{ cursor: "default", left: 235, position: "absolute", }}> + {Doc.UserDoc().noviceMode ? (null) : <div style={{ cursor: "default", left: 235, position: "absolute", }}> <Tooltip title={<div className="dash-tooltip" >only display documents matching search</div>} > <div> <FontAwesomeIcon icon={"filter"} size="lg" @@ -542,7 +542,7 @@ export class SearchBox extends ViewBoxBaseComponent<FieldViewProps, SearchBoxDoc onClick={action(() => this.setSearchFilter(this.currentSelectedCollection, this.filter ? undefined : this.docsforfilter))} /> </div> </Tooltip> - </div> */} + </div>} {this.scopeButtons} </div> </div > |
