rez_core 3.1.204 → 3.1.205

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rez_core",
3
- "version": "3.1.204",
3
+ "version": "3.1.205",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "private": false,
@@ -47,7 +47,7 @@ export class ActionDataEntity extends BaseEntity {
47
47
  @Column({ nullable: true, default: 0 })
48
48
  resubmit_count: number;
49
49
 
50
- @Column({ type: 'int', nullable: true })
50
+ @Column({ nullable: true })
51
51
  dependent_action_id: number;
52
52
 
53
53
  @Column({ type: 'varchar', nullable: true })
@@ -191,7 +191,13 @@ export class ActionRepository {
191
191
  ? actionIds.filter((id) => id !== action_id)
192
192
  : actionIds;
193
193
 
194
- const actionResults = await this.dataSource
194
+ let actionResults;
195
+
196
+ if (filteredActionIds.length === 0) {
197
+ return [];
198
+ }
199
+
200
+ actionResults = await this.dataSource
195
201
  .createQueryBuilder()
196
202
  .select(['a.id AS action_id', 'a.name AS action_name'])
197
203
  .from('cr_wf_action', 'a')