Skip to content

Commit

Permalink
feat: only show Load CasparCG in Storage menu if there are any .ccg f…
Browse files Browse the repository at this point in the history
…iles
  • Loading branch information
olzzon committed Jan 28, 2020
1 parent ee917a2 commit 6cda7c0
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions client/components/RoutingStorage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,14 @@ class Storage extends React.PureComponent<IStorageProps & Store> {
<hr/>
<h3>LOAD ROUTING :</h3>
<this.ListSnapshotFiles/>
<hr/>
<h3>LOAD CASPARCG :</h3>
<this.ListCcgFiles/>
{window.ccgFileList.length > 0 ?
<div>
<hr/>
<h3>LOAD CASPARCG :</h3>
<this.ListCcgFiles/>
</div>
: null
}
</div>
)
}
Expand Down

0 comments on commit 6cda7c0

Please sign in to comment.