gamma-app-controller 1.0.9 → 1.1.0

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.
@@ -5260,9 +5260,6 @@ class CreateCompViewComponent {
5260
5260
  this.isCreateNewView = false;
5261
5261
  this.isLoader = false;
5262
5262
  this.toastr.success('View Update Successfully');
5263
- if (this.isHeader) {
5264
- this.router.navigate(['/apps/controlPanel/applicationViews/']);
5265
- }
5266
5263
  }, error: (err) => {
5267
5264
  this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'View Creation');
5268
5265
  }
@@ -5283,9 +5280,6 @@ class CreateCompViewComponent {
5283
5280
  "viewType": ""
5284
5281
  };
5285
5282
  this.isLoader = false;
5286
- if (this.isHeader) {
5287
- this.router.navigate(['/apps/controlPanel/applicationViews/']);
5288
- }
5289
5283
  }, error: (err) => {
5290
5284
  this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'View Creation');
5291
5285
  }
@@ -9083,6 +9077,12 @@ class CreateDatasetComponent {
9083
9077
  else if (data.datasetType == 'simpleApi') {
9084
9078
  this.restApiDataset = data.config;
9085
9079
  }
9080
+ else if (data.datasetType == 'sqlQuery') {
9081
+ this.sqlApiDataset = data.config;
9082
+ }
9083
+ else if (data.datasetType == 'plainjson') {
9084
+ this.jsonDataset = data.config;
9085
+ }
9086
9086
  }, error: (err) => {
9087
9087
  this.loadingModal = false;
9088
9088
  this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Dataset Creation');
@@ -9200,9 +9200,6 @@ class CreateDatasetComponent {
9200
9200
  this.isDuplidateView = false;
9201
9201
  this.loadingModal = false;
9202
9202
  this.toastr.success('Dataset Created Successfully');
9203
- if (this.isHeader) {
9204
- this.router.navigate(['apps/controlPanel/applicationDataset/']);
9205
- }
9206
9203
  }, error: (err) => {
9207
9204
  this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Dataset Creation');
9208
9205
  }
@@ -9213,9 +9210,6 @@ class CreateDatasetComponent {
9213
9210
  next: (data) => {
9214
9211
  this.loadingModal = false;
9215
9212
  this.toastr.success('Dataset Updated Successfully');
9216
- if (this.isHeader) {
9217
- this.router.navigate(['apps/controlPanel/applicationDataset/']);
9218
- }
9219
9213
  }, error: (err) => {
9220
9214
  this.toastr.error('Unexpected Server Exception. Please contact System Admin.', 'Dataset Creation');
9221
9215
  }