Skip to content

Commit

Permalink
Merge pull request #127 from awslabs/124-search-funtionality-for-pipe…
Browse files Browse the repository at this point in the history
…line-dashboard-resources-in-dataall-not-working-when-used-from-specific-pages

124 search funtionality for pipeline dashboard resources in dataall not working when used from specific pages
  • Loading branch information
dlpzx authored Sep 6, 2022
2 parents 9d920f6 + 08e5f21 commit 19ca19f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/views/Dashboards/DashboardList.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ const DashboardList = () => {

const handleInputKeyup = (event) => {
if (event.code === 'Enter') {
setFilter({page: 1, term: event.target.value});
fetchItems().catch((e) =>
dispatch({ type: SET_ERROR, error: e.message })
);
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/Datasets/DatasetList.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ const DatasetList = () => {

const handleInputKeyup = (event) => {
if (event.code === 'Enter') {
setFilter({page: 1, term: event.target.value});
fetchItems().catch((e) =>
dispatch({ type: SET_ERROR, error: e.message })
);
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/Environments/EnvironmentList.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ const EnvironmentList = () => {

const handleInputKeyup = (event) => {
if (event.code === 'Enter') {
setFilter({page: 1, term: event.target.value});
fetchItems().catch((e) =>
dispatch({ type: SET_ERROR, error: e.message })
);
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/MLStudio/NotebookList.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ const NotebookList = () => {

const handleInputKeyup = (event) => {
if (event.code === 'Enter') {
setFilter({page: 1, term: event.target.value});
fetchItems().catch((e) =>
dispatch({ type: SET_ERROR, error: e.message })
);
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/Notebooks/NotebookList.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ const NotebookList = () => {

const handleInputKeyup = (event) => {
if (event.code === 'Enter') {
setFilter({page: 1, term: event.target.value});
fetchItems().catch((e) =>
dispatch({ type: SET_ERROR, error: e.message })
);
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/Organizations/OrganizationList.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const OrganizationList = () => {

const handleInputKeyup = (event) => {
if (event.code === 'Enter') {
setFilter({page: 1, term: event.target.value});
fetchItems();
}
};
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/Pipelines/PipelineList.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ const PipelineList = () => {

const handleInputKeyup = (event) => {
if (event.code === 'Enter') {
setFilter({page: 1, term: event.target.value});
fetchItems().catch((e) =>
dispatch({ type: SET_ERROR, error: e.message })
);
Expand Down
1 change: 1 addition & 0 deletions frontend/src/views/Worksheets/WorksheetList.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ const WorksheetList = () => {

const handleInputKeyup = (event) => {
if (event.code === 'Enter') {
setFilter({page: 1, term: event.target.value});
fetchItems().catch((e) =>
dispatch({ type: SET_ERROR, error: e.message })
);
Expand Down

0 comments on commit 19ca19f

Please sign in to comment.