Compare commits
No commits in common. "87f287048807199c56b7cca59c13f03f64ce38a4" and "80482af5c09bd827f7d2327a398954f6204577d3" have entirely different histories.
87f2870488
...
80482af5c0
@ -30,6 +30,8 @@ cd organizrr
|
|||||||
### 2. Install JS Dependencies
|
### 2. Install JS Dependencies
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
pnpm install
|
||||||
|
# or
|
||||||
npm install
|
npm install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -306,7 +306,7 @@ function Organizrr() {
|
|||||||
</Group>
|
</Group>
|
||||||
</AppShell.Header>
|
</AppShell.Header>
|
||||||
|
|
||||||
<AppShell.Navbar p="md" bg="var(--mantine-primary-color-0)">
|
<AppShell.Navbar p="md" bg="var(--mantine-primary-color-1)">
|
||||||
<AppShell.Section>
|
<AppShell.Section>
|
||||||
<Group>
|
<Group>
|
||||||
<IconFiles />
|
<IconFiles />
|
||||||
@ -396,7 +396,7 @@ function Organizrr() {
|
|||||||
/>
|
/>
|
||||||
</Group>
|
</Group>
|
||||||
{activeFile !== null && (
|
{activeFile !== null && (
|
||||||
<Paper p="md" bg="var(--mantine-primary-color-0)">
|
<Paper p="md" bg="var(--mantine-primary-color-1)">
|
||||||
<Stack>
|
<Stack>
|
||||||
<Autocomplete
|
<Autocomplete
|
||||||
label="Category"
|
label="Category"
|
||||||
@ -482,8 +482,7 @@ function Organizrr() {
|
|||||||
doc.id ===
|
doc.id ===
|
||||||
form.values.files[activeFile]?.documents[0].id
|
form.values.files[activeFile]?.documents[0].id
|
||||||
)
|
)
|
||||||
?.file.name.toLowerCase()
|
?.file.name.endsWith(".pdf") && (
|
||||||
.endsWith(".pdf") && (
|
|
||||||
<Stack
|
<Stack
|
||||||
w={300}
|
w={300}
|
||||||
key={form.values.files[activeFile]?.documents.length}
|
key={form.values.files[activeFile]?.documents.length}
|
||||||
@ -496,10 +495,7 @@ function Organizrr() {
|
|||||||
}))}
|
}))}
|
||||||
onChange={handleDocumentSelect}
|
onChange={handleDocumentSelect}
|
||||||
/>
|
/>
|
||||||
<Dropzone
|
<Dropzone onDrop={handleDocumentDrop} />
|
||||||
onDrop={handleDocumentDrop}
|
|
||||||
accept={["application/pdf"]}
|
|
||||||
/>
|
|
||||||
</Stack>
|
</Stack>
|
||||||
)}
|
)}
|
||||||
</Group>
|
</Group>
|
||||||
@ -515,7 +511,7 @@ function Organizrr() {
|
|||||||
</Stack>
|
</Stack>
|
||||||
</AppShell.Main>
|
</AppShell.Main>
|
||||||
|
|
||||||
<AppShell.Aside p="md" bg="var(--mantine-primary-color-0)">
|
<AppShell.Aside p="md" bg="var(--mantine-primary-color-1)">
|
||||||
<Stack align="center">
|
<Stack align="center">
|
||||||
<Group style={{ alignSelf: "start" }}>
|
<Group style={{ alignSelf: "start" }}>
|
||||||
<IconEye /> <Title order={3}>Vorschau</Title>
|
<IconEye /> <Title order={3}>Vorschau</Title>
|
||||||
|
Loading…
Reference in New Issue
Block a user