Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 11 additions & 2 deletions apps/admin_dashboard/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1874,8 +1874,17 @@ function App() {

function openNotification(notification: DashboardNotification) {
if (notification.type === "stale_recruiting_gig") {
setGigStatus("recruiting")
navigate("gigs", true)
const gigId =
notification.engagement_id ||
(notification.id.startsWith("stale-recruiting:")
? notification.id.slice("stale-recruiting:".length)
: "")
if (gigId) {
openGigDetail(gigId)
} else {
setGigStatus("recruiting")
navigate("gigs", true)
}
}
setNotificationsOpen(false)
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"index.html": {
"file": "assets/index-B41mWS5m.js",
"file": "assets/index-DAy1pv-J.js",
"name": "index",
"src": "index.html",
"isEntry": true,
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/api/src/five08/backend/static/dashboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>508 Operations Dashboard</title>
<script type="module" crossorigin src="/dashboard/assets/index-B41mWS5m.js"></script>
<script type="module" crossorigin src="/dashboard/assets/index-DAy1pv-J.js"></script>
<link rel="stylesheet" crossorigin href="/dashboard/assets/index-0wkHV6At.css">
</head>
<body>
Expand Down
Loading