Disable inactive apps (#3254)

This commit is contained in:
Patryk Andrzejewski 2023-03-02 12:41:32 +01:00 committed by GitHub
parent 97a60b4c09
commit 78f0de0a22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,7 @@ export const InstalledAppListRow: React.FC<InstalledApp> = props => {
state={{ from: location.pathname }} state={{ from: location.pathname }}
className={sprinkles({ display: "contents" })} className={sprinkles({ display: "contents" })}
inline={false} inline={false}
disabled={!!app.isActive}
> >
<List.Item <List.Item
padding={7} padding={7}
@ -43,6 +44,7 @@ export const InstalledAppListRow: React.FC<InstalledApp> = props => {
justifyContent="space-between" justifyContent="space-between"
flexDirection="row" flexDirection="row"
flexWrap="wrap" flexWrap="wrap"
backgroundColor={!app.isActive ? "surfaceNeutralSubdued" : undefined}
> >
<Box <Box
display="flex" display="flex"