fix: No option to install/disconnect app from app detail page (#17997)
* fix: No option to install/disconnect app from app detail page * Fix types * fix: Install button showing up even after it is installed for all targers * chore: Simplified installOrDisconnectAppButton making it easy to read --------- Co-authored-by: Hariom <[email protected]> Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
5 files changed
+233
-78
No files matched your search
@@ -29,6 +29,18 @@ export const appCredentialsByTypeHandler = async ({ ctx, input }: AppCredentials
|
||||
],
|
||||
type: input.appType,
|
||||
},
|
||||
include: {
|
||||
user: {
|
||||
select: {
|
||||
name: true,
|
||||
},
|
||||
},
|
||||
team: {
|
||||
select: {
|
||||
name: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
// For app pages need to return which teams the user can install the app on
|
||||
|
||||
Reference in new issue
Block a user