Merge pull request #4212 from MaximilianKrambach/travisfixes
Fix travis errors
This commit is contained in:
commit
ec8fa3eb91
@ -869,7 +869,7 @@ export class MotionDetailComponent extends BaseViewComponent implements OnInit {
|
|||||||
)
|
)
|
||||||
.subscribe(id => {
|
.subscribe(id => {
|
||||||
this.contentForm.patchValue({
|
this.contentForm.patchValue({
|
||||||
workflow_id: parseInt(id, 10)
|
workflow_id: parseInt(id as string, 10)
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -21,7 +21,7 @@ def add_permission_to_groups_based_on_existing_permission(
|
|||||||
codename=codename, content_type__in=content_type
|
codename=codename, content_type__in=content_type
|
||||||
)
|
)
|
||||||
|
|
||||||
if len(base_perm) is 1 and len(content_type) is 1:
|
if len(base_perm) == 1 and len(content_type) == 1:
|
||||||
# get the actual content type and base permission
|
# get the actual content type and base permission
|
||||||
base_perm = base_perm.get()
|
base_perm = base_perm.get()
|
||||||
content_type = content_type.get()
|
content_type = content_type.get()
|
||||||
|
Loading…
Reference in New Issue
Block a user