mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-06 08:22:24 +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
|
||||
- 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))
|
||||
- Flexible Share mechanism
|
||||
- User friendly
|
||||
- Mobile friendly
|
||||
- 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"){
|
||||
return ( <Redirect to={`/files/?share=${this.state.share}`} /> );
|
||||
}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){
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in a new issue