feat: list clients and show list of invoice ids when clicked
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import 'dotenv/config'
|
||||
import { Screen, Box, Flow, Text, Button, interceptConsoleLog, ConsoleLog, iTerm2, Window, Flex } from 'wretched'
|
||||
import * as utility from "wretched/dist/components/utility";
|
||||
import { projectView } from "./components/listProjects.js";
|
||||
import { clientInvoicesView } from "./components/listClientInvoices.js";
|
||||
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ interceptConsoleLog();
|
||||
process.title = 'Wretched';
|
||||
|
||||
const consoleLog = new ConsoleLog({
|
||||
height: 10,
|
||||
height: 12,
|
||||
})
|
||||
const [screen, program] = await Screen.start(
|
||||
async (program) => {
|
||||
@@ -19,7 +19,7 @@ const [screen, program] = await Screen.start(
|
||||
child: new utility.TrackMouse({
|
||||
content: Flex.down({
|
||||
children: [
|
||||
['flex1', projectView],
|
||||
['flex1', clientInvoicesView],
|
||||
['natural', consoleLog],
|
||||
],
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user