MVP: Only show media tab
Until we support showing documents.
This commit is contained in:
@@ -95,12 +95,14 @@ export class MediaGallery extends React.Component<Props, State> {
|
|||||||
isSelected={selectedTab === 'media'}
|
isSelected={selectedTab === 'media'}
|
||||||
onSelect={this.handleTabSelect}
|
onSelect={this.handleTabSelect}
|
||||||
/>
|
/>
|
||||||
|
{/*
|
||||||
<Tab
|
<Tab
|
||||||
label="Documents"
|
label="Documents"
|
||||||
type="documents"
|
type="documents"
|
||||||
isSelected={selectedTab === 'documents'}
|
isSelected={selectedTab === 'documents'}
|
||||||
onSelect={this.handleTabSelect}
|
onSelect={this.handleTabSelect}
|
||||||
/>
|
/>
|
||||||
|
*/}
|
||||||
</div>
|
</div>
|
||||||
<div style={styles.attachmentsContainer}>{this.renderSections()}</div>
|
<div style={styles.attachmentsContainer}>{this.renderSections()}</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user