Skip to content

Commit

Permalink
Alert page 404 (#4180)
Browse files Browse the repository at this point in the history
  • Loading branch information
ranbena authored Oct 5, 2019
1 parent 7740deb commit 8ff3589
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/app/pages/alert/Alert.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import Query from './components/Query';
import AlertDestinations from './components/AlertDestinations';
import { STATE_CLASS } from '../alerts/AlertsList';
import { routesToAngularRoutes } from '@/lib/utils';
import PromiseRejectionError from '@/lib/promise-rejection-error';


const defaultNameBuilder = templateBuilder('<%= query.name %>: <%= options.column %> <%= options.op %> <%= options.value %>');
Expand Down Expand Up @@ -137,6 +138,10 @@ class AlertPage extends React.Component {
});
this.onQuerySelected(alert.query);
}
}).catch((err) => {
if (this._isMounted) {
throw new PromiseRejectionError(err);
}
});
}
}
Expand Down

0 comments on commit 8ff3589

Please sign in to comment.