Skip to content

Commit

Permalink
fix(dashboard): refresh page when adding a new job
Browse files Browse the repository at this point in the history
  • Loading branch information
roggervalf committed Feb 17, 2021
1 parent ec5e979 commit 0fa5d02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ $(document).ready(() => {
.done(() => {
alert('Job successfully added!');
localStorage.removeItem('arena:savedJob');
window.location.reload();
})
.fail((jqXHR) => {
window.alert('Failed to save job, check console for error.');
Expand Down

0 comments on commit 0fa5d02

Please sign in to comment.