Skip to content

Commit

Permalink
Merge e2ea7d8 into backport/10545-exec-terminal-window-message/genera…
Browse files Browse the repository at this point in the history
…lly-cunning-minnow
  • Loading branch information
hc-github-team-nomad-core committed Sep 2, 2022
2 parents f479fd1 + e2ea7d8 commit 406eeb1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .changelog/14071.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
ui: Display different message when trying to exec into a job with no task running.
```
4 changes: 1 addition & 3 deletions ui/app/controllers/exec.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ export default class ExecController extends Controller {
if (this.sortedTaskGroups.length > 0) {
this.terminal.writeln('Select a task to start your session.');
} else {
this.terminal.writeln(
'Run a job and then select a task to start your session.'
);
this.terminal.writeln(`There are no tasks running for this job.`);
}
}

Expand Down

0 comments on commit 406eeb1

Please sign in to comment.