@brftech/filex-core 0.4.0 → 0.4.1
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/dist/{ArchiveViewer-Dgvl43gn.js → ArchiveViewer-BOXJ2ub7.js} +2 -2
- package/dist/{ArchiveViewer-Dgvl43gn.js.map → ArchiveViewer-BOXJ2ub7.js.map} +1 -1
- package/dist/{CsvViewer-gWO5pc8F.js → CsvViewer-CDs9EpJx.js} +2 -2
- package/dist/{CsvViewer-gWO5pc8F.js.map → CsvViewer-CDs9EpJx.js.map} +1 -1
- package/dist/{DrawioViewer-DUAlRIAb.js → DrawioViewer-Q__JcUmq.js} +2 -2
- package/dist/{DrawioViewer-DUAlRIAb.js.map → DrawioViewer-Q__JcUmq.js.map} +1 -1
- package/dist/{EpubViewer-DIXzuQWK.js → EpubViewer-BlsOD2xl.js} +2 -2
- package/dist/{EpubViewer-DIXzuQWK.js.map → EpubViewer-BlsOD2xl.js.map} +1 -1
- package/dist/{IpynbViewer-CJ-6pU_Z.js → IpynbViewer-DKSFiZmv.js} +2 -2
- package/dist/{IpynbViewer-CJ-6pU_Z.js.map → IpynbViewer-DKSFiZmv.js.map} +1 -1
- package/dist/{MermaidViewer-CyQQDyRb.js → MermaidViewer-D2Gnp4yX.js} +2 -2
- package/dist/{MermaidViewer-CyQQDyRb.js.map → MermaidViewer-D2Gnp4yX.js.map} +1 -1
- package/dist/{PsdViewer-ChfaXVgN.js → PsdViewer-BD-rIrF1.js} +2 -2
- package/dist/{PsdViewer-ChfaXVgN.js.map → PsdViewer-BD-rIrF1.js.map} +1 -1
- package/dist/{TiffViewer-CsfD-NG6.js → TiffViewer-8qitRwcZ.js} +2 -2
- package/dist/{TiffViewer-CsfD-NG6.js.map → TiffViewer-8qitRwcZ.js.map} +1 -1
- package/dist/{Viewer3D-BQ2XYmkN.js → Viewer3D-WLmIjgmZ.js} +2 -2
- package/dist/{Viewer3D-BQ2XYmkN.js.map → Viewer3D-WLmIjgmZ.js.map} +1 -1
- package/dist/filex-core.js +1 -1
- package/dist/filex-core.umd.cjs +25 -25
- package/dist/filex-core.umd.cjs.map +1 -1
- package/dist/{index-PnhGunSA.js → index-f-_N5BV1.js} +138 -138
- package/dist/{index-PnhGunSA.js.map → index-f-_N5BV1.js.map} +1 -1
- package/package.json +1 -1
- package/src/FileExplorer.vue +7 -0
package/package.json
CHANGED
package/src/FileExplorer.vue
CHANGED
|
@@ -728,6 +728,13 @@ function stripAdapter(p: string): string {
|
|
|
728
728
|
// confined rootFloor on embeds, so this is safe everywhere.
|
|
729
729
|
function leaveNotFound() {
|
|
730
730
|
notFoundPath.value = '';
|
|
731
|
+
// Cold-load on a dead deep link: currentPath is still '' (the 404 never
|
|
732
|
+
// committed it), so navigating to root doesn't change it and the
|
|
733
|
+
// watch(currentPath) persistence never fires — the dead hash would
|
|
734
|
+
// survive and a reload would land on the 404 again. Clear it explicitly;
|
|
735
|
+
// if load('') clamps to a confined floor path, the watch fires with the
|
|
736
|
+
// new path and rewrites the hash correctly anyway.
|
|
737
|
+
writePersistedPath('');
|
|
731
738
|
void load('');
|
|
732
739
|
}
|
|
733
740
|
|