mirror of
https://github.com/pawelmalak/flame.git
synced 2025-07-20 03:59:36 +02:00
Set app visibility
This commit is contained in:
parent
ee9aefa4fa
commit
d1738a0a3e
7 changed files with 127 additions and 105 deletions
|
@ -114,7 +114,7 @@ const AppTable = (props: ComponentProps): JSX.Element => {
|
|||
<Droppable droppableId="apps">
|
||||
{(provided) => (
|
||||
<Table
|
||||
headers={['Name', 'URL', 'Icon', 'Actions']}
|
||||
headers={['Name', 'URL', 'Icon', 'Visibility', 'Actions']}
|
||||
innerRef={provided.innerRef}
|
||||
>
|
||||
{localApps.map((app: App, index): JSX.Element => {
|
||||
|
@ -143,6 +143,9 @@ const AppTable = (props: ComponentProps): JSX.Element => {
|
|||
<td style={{ width: '200px' }}>{app.name}</td>
|
||||
<td style={{ width: '200px' }}>{app.url}</td>
|
||||
<td style={{ width: '200px' }}>{app.icon}</td>
|
||||
<td style={{ width: '200px' }}>
|
||||
{app.isPublic ? 'Visible' : 'Hidden'}
|
||||
</td>
|
||||
{!snapshot.isDragging && (
|
||||
<td className={classes.TableActions}>
|
||||
<div
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue