hide help table on web

This commit is contained in:
Sean Yesmunt 2019-04-11 14:17:23 -04:00
parent 4066bb31e5
commit c0e61db0b2
2 changed files with 5 additions and 11 deletions

View file

@ -185,11 +185,8 @@ class HelpPage extends React.PureComponent<Props, State> {
</div>
</section>
<section
className={classnames('card card--section', {
'card--disabled': IS_WEB,
})}
>
{/* @if TARGET='app' */}
<section className="card card--section">
<header className="card__header">
<h2 className="card__title">{__('View your Log')}</h2>
@ -215,11 +212,7 @@ class HelpPage extends React.PureComponent<Props, State> {
</div>
</section>
<section
className={classnames('card card--section', {
'card--disabled': IS_WEB,
})}
>
<section className="card card--section">
<header className="card__header">
<h2 className="card__title">{__('About')}</h2>
@ -296,6 +289,7 @@ class HelpPage extends React.PureComponent<Props, State> {
</table>
</div>
</section>
{/* @endif */}
</Page>
);
}

View file

@ -155,7 +155,7 @@ class SettingsPage extends React.PureComponent<Props, State> {
<div className="card__title">{__('Failed to load settings.')}</div>
</section>
) : (
<div className={classnames({ 'card--hidden': IS_WEB })}>
<div className={classnames({ 'card--disabled': IS_WEB })}>
<section className="card card--section">
<header className="card__header">
<h2 className="card__title">{__('Download Directory')}</h2>