Skip to content

Commit

Permalink
fix: Display watermarks for all tables when available (#971)
Browse files Browse the repository at this point in the history
* Removed check to display watermark only if table is not a view

Signed-off-by: Grant Seward <grant@stemma.ai>

* Removed curly braces

Signed-off-by: Grant Seward <grant@stemma.ai>
  • Loading branch information
sewardgw authored Apr 20, 2021
1 parent d99e13c commit 73eff8a
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions amundsen_application/static/js/pages/TableDetailPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -426,14 +426,12 @@ export class TableDetail extends React.Component<
</time>
</section>
)}
{!data.is_view && (
<section className="metadata-section">
<div className="section-title">
{Constants.DATE_RANGE_TITLE}
</div>
<WatermarkLabel watermarks={data.watermarks} />
</section>
)}
<section className="metadata-section">
<div className="section-title">
{Constants.DATE_RANGE_TITLE}
</div>
<WatermarkLabel watermarks={data.watermarks} />
</section>
<EditableSection title={Constants.TAG_TITLE}>
<TagInput
resourceType={ResourceType.table}
Expand Down

0 comments on commit 73eff8a

Please sign in to comment.