Skip to content

Commit

Permalink
removed unused imports and console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
YashPShah-swag committed Oct 31, 2023
1 parent e76c030 commit 03f12c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions widget/c8y-barchart-widget.config.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/
import { Component, Input, OnInit, OnDestroy } from '@angular/core';
import { AbstractControl, FormBuilder, NgForm, ValidationErrors, ValidatorFn, Validators } from '@angular/forms';
import { AbstractControl, FormBuilder, NgForm, ValidationErrors, ValidatorFn} from '@angular/forms';
import { FetchClient, InventoryService } from '@c8y/ngx-components/api';
import { DatapointAttributesFormConfig, DatapointSelectorModalOptions, KPIDetails } from '@c8y/ngx-components/datapoint-selector';
import * as _ from "lodash";
Expand Down Expand Up @@ -107,7 +107,7 @@ export class C8yBarchartWidgetConfig implements OnInit, OnDestroy {
}

public updateConfig(): void {
_.set(this.config, 'customwidgetdata', this.widgetInfo);console.log("onUpdate:",this.config);
_.set(this.config, 'customwidgetdata', this.widgetInfo);
}

public updateIconInConfig($event: Event, index: number) {
Expand Down

0 comments on commit 03f12c1

Please sign in to comment.