Add three icons to help page

This commit is contained in:
eatdostacos 2020-06-21 12:31:00 -07:00 committed by Sean Yesmunt
parent 3d4f0a93b5
commit 684d0e302c

View file

@ -174,7 +174,7 @@ class HelpPage extends React.PureComponent<Props, State> {
} }
actions={ actions={
<div className="section__actions"> <div className="section__actions">
<Button navigate="/$/report" label={__('Submit Feedback')} button="secondary" /> <Button navigate="/$/report" label={__('Submit Feedback')} icon={icons.FEEDBACK} button="secondary" />
</div> </div>
} }
/> />
@ -193,8 +193,8 @@ class HelpPage extends React.PureComponent<Props, State> {
} }
actions={ actions={
<div className="section__actions"> <div className="section__actions">
<Button button="secondary" label={__('Open Log')} onClick={() => this.openLogFile(dataDirectory)} /> <Button button="secondary" label={__('Open Log')} icon={icons.OPEN_LOG} onClick={() => this.openLogFile(dataDirectory)} />
<Button button="secondary" label={__('Open Log Folder')} onClick={() => shell.openItem(dataDirectory)} /> <Button button="secondary" label={__('Open Log Folder')} icon={icons.OPEN_LOG_FOLDER} onClick={() => shell.openItem(dataDirectory)} />
</div> </div>
} }
/> />