-
Notifications
You must be signed in to change notification settings - Fork 903
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(executions): Adding redirect for execution without application (#…
- Loading branch information
1 parent
f89d97d
commit 3f21c1f
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
app/scripts/modules/core/src/pipeline/executions/ExecutionNotFound.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import * as React from 'react'; | ||
import { ReactInjector } from 'core/reactShims'; | ||
|
||
export class ExecutionNotFound extends React.Component { | ||
public render() { | ||
const { params } = ReactInjector.$state; | ||
return ( | ||
<div className="application"> | ||
<div> | ||
<h2 className="text-center">Execution Not Found</h2> | ||
<p className="text-center" style={{ marginBottom: '20px' }}> | ||
Please check your URL - we can't find any data for <em>{params.executionId}</em>. | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters