MCPcopy Create free account
hub / github.com/alephdata/aleph / updateQuery

Method updateQuery

ui/src/components/Document/DocumentManager.jsx:88–95  ·  view source on GitHub ↗
(newQuery)

Source from the content-addressed store, hash-verified

86 }
87
88 updateQuery(newQuery) {
89 const { navigate, location } = this.props;
90 navigate({
91 pathname: location.pathname,
92 search: newQuery.toLocation(),
93 hash: location.hash,
94 });
95 }
96
97 onSearchSubmit(queryText) {
98 const { query } = this.props;

Callers 1

onSearchSubmitMethod · 0.95

Calls 1

toLocationMethod · 0.80

Tested by

no test coverage detected