Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b04e973

Browse files
committedNov 27, 2024
Feat (UI) dashboard
1 parent 8057bb3 commit b04e973

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed
 

‎frontend/src/components/pages/Dashboard.tsx

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,20 @@ export function Dashboard() {
228228
{loading ? (
229229
<div className="text-center text-gray-500">Loading...</div>
230230
) : callMetrics.length === 0 ? (
231-
<div className="text-center text-gray-500">
232-
No call recordings found
233-
</div>
231+
<>
232+
<div className="text-center text-gray-500">
233+
No call recordings found.{" \n"}
234+
</div>
235+
<div className="flex justify-center items-center m-3">
236+
<Button
237+
onClick={() => {
238+
navigate("/dashboard/analysis");
239+
}}
240+
>
241+
Start Here
242+
</Button>{" "}
243+
</div>
244+
</>
234245
) : (
235246
<div className="grid gap-6 md:grid-cols-2 lg:grid-cols-3">
236247
{callMetrics.map(renderMetricCard)}

0 commit comments

Comments
 (0)
Please sign in to comment.