I'm very new to PowerApps and I'd inherited an App which has an component at the bottom of a screen.
In this component are selectable icons but one of which should be only available to the Admins (via a Sharepoint List).
Within the component > Data > Items there is this code:
Table(
{
Name: "Home",
Icon: Icon.DetailList,
Page: Dashboard,
Visible:true
},
{
Name: "Bookings",
Icon: Icon.Person,
Page: MyAppts,
Visible:true
},
{
Name: "Book",
Icon: Icon.Add,
Page: NewBooking,
Visible:true
},
{
Name: "Manage",
Icon: Icon.ComputerDesktop,
Page: ManageDesks,
Visible: varAdmin
}
)
The bottom bit hides the icon but is still clickable - how do you disable that as well so it can't be selected?