mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-15 21:04:46 +01:00
feature (share): workable version
This commit is contained in:
parent
f87fddbb32
commit
1ff46452a2
2 changed files with 2 additions and 1 deletions
|
|
@ -15,6 +15,7 @@
|
||||||
- Manage your files from a browser
|
- Manage your files from a browser
|
||||||
- Org mode friendly ([documentation](https://github.com/mickael-kerjean/nuage/wiki/Release-0.1:-Org-Mode-everywhere))
|
- Org mode friendly ([documentation](https://github.com/mickael-kerjean/nuage/wiki/Release-0.1:-Org-Mode-everywhere))
|
||||||
- Photo management ([documentation](https://github.com/mickael-kerjean/nuage/wiki/Release-0.2:-Photo-Management))
|
- Photo management ([documentation](https://github.com/mickael-kerjean/nuage/wiki/Release-0.2:-Photo-Management))
|
||||||
|
- Flexible Share mechanism
|
||||||
- User friendly
|
- User friendly
|
||||||
- Mobile friendly
|
- Mobile friendly
|
||||||
- Customisable ([documentation](https://github.com/mickael-kerjean/nuage/wiki/Customisation))
|
- Customisable ([documentation](https://github.com/mickael-kerjean/nuage/wiki/Customisation))
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@ export class SharePage extends React.Component {
|
||||||
if(filetype(this.state.path) === "directory"){
|
if(filetype(this.state.path) === "directory"){
|
||||||
return ( <Redirect to={`/files/?share=${this.state.share}`} /> );
|
return ( <Redirect to={`/files/?share=${this.state.share}`} /> );
|
||||||
}else{
|
}else{
|
||||||
return ( <Redirect to={`/view/${basename(this.state.path)}?share=${this.state.share}`} /> );
|
return ( <Redirect to={`/view/${basename(this.state.path)}?nav=false&share=${this.state.share}`} /> );
|
||||||
}
|
}
|
||||||
} else if (this.state.key === null){
|
} else if (this.state.key === null){
|
||||||
return (
|
return (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue