diff --git a/src/App.tsx b/src/App.tsx
index 686afad..ef58566 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -41,6 +41,11 @@ function getHref(f: File)
return f.type == "directory" ? urlJoin(path, f.name) : urlJoin(host, path, f.name)
}
+function getParent(level: number)
+{
+ return urlJoin(path, "../")
+}
+
export default function App() {
const [api] = createResource(fetchApi)
const paths = [window.location.host, ...path.split("/").filter(it => it)]
@@ -59,7 +64,8 @@ export default function App() {
{(p, i) =>
<>
- {p}
+ {p}
/
>
}
diff --git a/src/app.sass b/src/app.sass
index 0144719..fb9e6e6 100644
--- a/src/app.sass
+++ b/src/app.sass
@@ -30,5 +30,7 @@ iconify-icon
align-items: center
justify-content: center
-.color-sub.active
- @extend .color-emp
\ No newline at end of file
+.breadcrumb-link.active
+ @extend .color-emp
+ pointer-events: none
+ cursor: default
\ No newline at end of file