Skip to content

Commit

Permalink
馃洜 Fix scrollbar on Documents (#2599)
Browse files Browse the repository at this point in the history
* 馃洜 Fix scrollbar on documents

* Fix helpbar
  • Loading branch information
RomaricMourgues authored and Labels Bot committed Nov 9, 2022
1 parent ffd60b4 commit 34395b1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ export default class Drive extends Component {
list.push(
<div className={'drive_app drive_view list'}>
<UploadZone
className="overflow-auto"
disabled={in_trash || WorkspaceUserRights.isNotConnected()}
ref={node => (this.upload_zone = node)}
disableClick
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@ export default class Footer extends React.Component {
super();
this.onpremise = !!((InitService.server_infos || {}).branding || {}).name;
this.menu = [
{ type:"text", text: `Twake v${Version.version_detail}` },
{
type: 'menu',
text: Languages.t('general.help.support', [], 'Support'),
icon: 'comment',
onClick: props.onClickHelp,
},
{ type: 'text', text: `Twake v${Version.version_detail}` },
...(props.onClickHelp
? [
{
type: 'menu',
text: Languages.t('general.help.support', [], 'Support'),
icon: 'comment',
onClick: props.onClickHelp,
},
]
: []),
{
type: 'menu',
text: Languages.t('general.help.documentation', [], 'Documentation'),
Expand Down

0 comments on commit 34395b1

Please sign in to comment.