mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
fix: Fix for workflows listing on addable apps (#12528)
This commit is contained in:
parent
7033b75547
commit
f21fcaacbf
2 changed files with 4 additions and 0 deletions
|
|
@ -24,6 +24,9 @@ export class AppBase extends BaseEntity {
|
|||
@Column({ name: 'name' })
|
||||
name: string;
|
||||
|
||||
@Column({ name: 'type' })
|
||||
type: string = 'front-end';
|
||||
|
||||
@Column({ name: 'slug', unique: true })
|
||||
slug: string;
|
||||
|
||||
|
|
|
|||
|
|
@ -45,6 +45,7 @@ export class GranularPermissionsService implements IGranularPermissionsService {
|
|||
return await dbTransactionWrap(async (manager: EntityManager) => {
|
||||
const apps = await manager.find(AppBase, {
|
||||
where: {
|
||||
type: 'front-end',
|
||||
organizationId,
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue