@axium/storage 0.6.11 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/storage",
3
- "version": "0.6.11",
3
+ "version": "0.7.0",
4
4
  "author": "James Prevett <axium@jamespre.dev> (https://jamespre.dev)",
5
5
  "description": "User file storage for Axium",
6
6
  "funding": {
@@ -25,6 +25,11 @@
25
25
  <Icon i="trash-can-undo" /> Restore
26
26
  </button>
27
27
  {:else if item.type == 'inode/directory'}
28
+ <a href="/files{item.parentId ? '/' + item.parentId : ''}">
29
+ <button class="icon-text">
30
+ <Icon i="folder-arrow-up" /> Back
31
+ </button>
32
+ </a>
28
33
  <StorageList appMode bind:items />
29
34
  <StorageAdd parentId={item.id} onadd={item => items.push(item)} />
30
35
  {:else}