forked from r.muellner/velum-raycast
feat: show project and session translation tables
This commit is contained in:
@@ -25,6 +25,7 @@ import {
|
||||
} from "./sessions";
|
||||
import type { VelumSession } from "./types";
|
||||
import { mappingSummary, sessionSubtitle } from "./ui";
|
||||
import { TranslationTable } from "./show-translation-tables";
|
||||
|
||||
export default function Command() {
|
||||
const [sessions, setSessions] = useState<VelumSession[]>([]);
|
||||
@@ -145,6 +146,11 @@ export default function Command() {
|
||||
accessories={[{ text: `${countMappingEntries(session.mapping)}` }]}
|
||||
actions={
|
||||
<ActionPanel>
|
||||
<Action.Push
|
||||
title="Übersetzungstabelle anzeigen"
|
||||
icon={Icon.List}
|
||||
target={<TranslationTable title={session.name} mapping={session.mapping} />}
|
||||
/>
|
||||
<Action
|
||||
title="Als Aktive Sitzung Setzen"
|
||||
icon={Icon.CheckCircle}
|
||||
|
||||
Reference in New Issue
Block a user