mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 00:58:32 +02:00
Some fixes
This commit is contained in:
Binary file not shown.
3
src-tauri/migrations/20230316062901_model-fields.sql
Normal file
3
src-tauri/migrations/20230316062901_model-fields.sql
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
ALTER TABLE http_responses ADD COLUMN model TEXT DEFAULT 'http_response';
|
||||||
|
ALTER TABLE http_requests ADD COLUMN model TEXT DEFAULT 'http_request';
|
||||||
|
ALTER TABLE workspaces ADD COLUMN model TEXT DEFAULT 'workspace';
|
||||||
@@ -6,7 +6,7 @@ import { VStack } from './core/Stacks';
|
|||||||
export default function Workspaces() {
|
export default function Workspaces() {
|
||||||
const workspaces = useWorkspaces();
|
const workspaces = useWorkspaces();
|
||||||
return (
|
return (
|
||||||
<VStack as="ul" className="p-12">
|
<VStack as="ul" className="p-12" space={1}>
|
||||||
<Heading>Workspaces</Heading>
|
<Heading>Workspaces</Heading>
|
||||||
{workspaces.map((w) => (
|
{workspaces.map((w) => (
|
||||||
<Button key={w.id} color="gray" to={`/workspaces/${w.id}`}>
|
<Button key={w.id} color="gray" to={`/workspaces/${w.id}`}>
|
||||||
|
|||||||
Reference in New Issue
Block a user