Skip to content

Commit

Permalink
fix: Right color for background item
Browse files Browse the repository at this point in the history
  • Loading branch information
matvp91 committed Sep 18, 2024
1 parent 02298ab commit a8cccb6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/dashboard/src/components/JobTreeItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ export function JobTreeItem({ job, activeId }: JobTreeItemProps) {
<Link
to={`/jobs/${job.id}`}
className={cn(
"p-2 flex gap-2 items-center",
activeId === job.id && "bg-gray-200 rounded-md",
"p-2 flex gap-2 items-center rounded-md",
activeId === job.id && "bg-muted",
)}
>
<JobState state={job.state} />
Expand Down
6 changes: 5 additions & 1 deletion packages/dashboard/src/components/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ import { Button } from "@/components/ui/button";
import "./worker";

const uri = monaco.Uri.parse("mixwave/body.json");
const model = monaco.editor.createModel(["{", "", "}"].join("\n"), "json", uri);
const model = monaco.editor.createModel(
["{", ' "assetId": ""', "}"].join("\n"),
"json",
uri,
);

type EditorProps = {
schema?: object;
Expand Down

0 comments on commit a8cccb6

Please sign in to comment.