9 lines
287 B
TypeScript
9 lines
287 B
TypeScript
import { apps } from "@/webapp"
|
|
import { Thread } from "@/shell"
|
|
|
|
export default function () {
|
|
const state = Thread.getStore()
|
|
if (!state) return { error: "no state" }
|
|
|
|
return { html: apps().map(app => app === state.project ? `<b class="cyan">${app}</b>` : app).join(" ") }
|
|
} |