Skip to content
This repository was archived by the owner on Aug 31, 2022. It is now read-only.

Commit d832827

Browse files
author
anishaswain
committed
review II
1 parent a51eddb commit d832827

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/pages/ExpiringResults/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ class ExpiringResults extends Component {
292292
<Grid hasGutter style={{ marginTop: '16px' }}>
293293
<GridItem span={12}>
294294
<Card>
295-
<div>
295+
<div className={styles.paddingBig}>
296296
<Table
297297
columns={seenDataColumns}
298298
data={totalResultData}

src/pages/Overview/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class Overview extends React.Component {
163163
const { totalResultData } = this.state;
164164
const { dispatch } = this.props;
165165
const keys = rows.map(({ original }) => original.result);
166-
keys.forEach(function(key) {
166+
keys.forEach(key => {
167167
totalResultData.filter(item => item.result === key)[0].serverMetadata.dashboard.saved = true;
168168
});
169169
dispatch({
@@ -573,12 +573,10 @@ class Overview extends React.Component {
573573

574574
return (
575575
<div className={styles.paddingBig}>
576-
{actionMessage !== '' ? (
576+
{actionMessage !== '' && (
577577
<AlertGroup isToast style={{ display: 'block' }}>
578578
<Alert title={actionMessage} variant="success" />
579579
</AlertGroup>
580-
) : (
581-
<></>
582580
)}
583581
<Grid hasGutter span={12}>
584582
<Grid hasGutter span={6}>

0 commit comments

Comments
 (0)