@lowcodeunit/applications-flow-common 1.37.138-ui-requests-10944 → 1.37.140-ui-requests-10944
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/esm2020/lib/controls/security-toggle/security-toggle.component.mjs +6 -3
- package/esm2020/lib/elements/breadcrumb/breadcrumb.component.mjs +11 -6
- package/fesm2015/lowcodeunit-applications-flow-common.mjs +15 -7
- package/fesm2015/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/fesm2020/lowcodeunit-applications-flow-common.mjs +15 -7
- package/fesm2020/lowcodeunit-applications-flow-common.mjs.map +1 -1
- package/lib/elements/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/package.json +1 -1
@@ -4733,8 +4733,10 @@ class SecurityToggleComponent {
|
|
4733
4733
|
}
|
4734
4734
|
ngOnInit() { }
|
4735
4735
|
ngOnChanges() {
|
4736
|
-
this.IsPrivate
|
4737
|
-
|
4736
|
+
if (this.IsPrivate === null || this.IsPrivate === undefined) {
|
4737
|
+
this.IsPrivate = this.EditingApplication.LookupConfig?.IsPrivate;
|
4738
|
+
this.setupSecurityFormGroup();
|
4739
|
+
}
|
4738
4740
|
}
|
4739
4741
|
SecuritySubmit() {
|
4740
4742
|
//save the security settings
|
@@ -4745,6 +4747,7 @@ class SecurityToggleComponent {
|
|
4745
4747
|
this.IsPrivate = this.IsPrivateFormControl.value;
|
4746
4748
|
}
|
4747
4749
|
setupSecurityFormGroup() {
|
4750
|
+
// console.log('setting form');
|
4748
4751
|
this.ProcessorType = this.EditingApplication?.Processor?.Type || '';
|
4749
4752
|
this.SecurityFormGroup = this.formBldr.group({});
|
4750
4753
|
this.setupSecurityForm();
|
@@ -5677,6 +5680,11 @@ class BreadcrumbComponent {
|
|
5677
5680
|
else {
|
5678
5681
|
this.IsSmScreen = false;
|
5679
5682
|
}
|
5683
|
+
console.log('small: ', this.IsSmScreen);
|
5684
|
+
if (this.IsSmScreen) {
|
5685
|
+
this.CurrentLevel = this.determineCurrentLevel();
|
5686
|
+
this.ReturnRouterLink = this.determineReturnRouterLink();
|
5687
|
+
}
|
5680
5688
|
});
|
5681
5689
|
}
|
5682
5690
|
ngOnChanges() {
|
@@ -5709,7 +5717,7 @@ class BreadcrumbComponent {
|
|
5709
5717
|
});
|
5710
5718
|
}
|
5711
5719
|
if (this.IsSmScreen) {
|
5712
|
-
this.CurrentLevel = this.
|
5720
|
+
this.CurrentLevel = this.determineCurrentLevel();
|
5713
5721
|
this.ReturnRouterLink = this.determineReturnRouterLink();
|
5714
5722
|
}
|
5715
5723
|
}
|
@@ -5719,7 +5727,7 @@ class BreadcrumbComponent {
|
|
5719
5727
|
SetActiveEnterprise(entLookup) {
|
5720
5728
|
this.eacSvc.SetActiveEnterprise(entLookup).then(() => { });
|
5721
5729
|
}
|
5722
|
-
|
5730
|
+
determineCurrentLevel() {
|
5723
5731
|
let lastLevel;
|
5724
5732
|
if (this.Enterprise) {
|
5725
5733
|
lastLevel = 'ent';
|
@@ -5727,9 +5735,9 @@ class BreadcrumbComponent {
|
|
5727
5735
|
if (this.ProjectLookup) {
|
5728
5736
|
lastLevel = 'project';
|
5729
5737
|
}
|
5730
|
-
if (this.SelectedRoute) {
|
5731
|
-
|
5732
|
-
}
|
5738
|
+
// if (this.SelectedRoute) {
|
5739
|
+
// lastLevel = 'route';
|
5740
|
+
// }
|
5733
5741
|
if (this.SelectedApplication) {
|
5734
5742
|
lastLevel = 'app';
|
5735
5743
|
}
|