Skip to content
This repository was archived by the owner on Nov 27, 2025. It is now read-only.

Commit a5d2c1b

Browse files
committed
fix: remove redundant input change call and fix button icon rendering
1 parent f36e468 commit a5d2c1b

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

editors/sampledvalue/sampled-value-control-element-editor.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ export class SampledValueControlElementEditor extends ScopedElementsMixin(
170170
);
171171

172172
this.resetInputs();
173-
174-
this.onSampledValueControlInputChange();
175173
}
176174

177175
private onSMVInputChange(): void {
@@ -472,11 +470,10 @@ export class SampledValueControlElementEditor extends ScopedElementsMixin(
472470
><md-text-button
473471
class="smvcontrol save"
474472
label="save"
475-
icon="save"
476473
?disabled=${!this.sampledValueControlDiff}
477474
@click="${this.saveSampledValueControlChanges}"
478-
>Save<md-icon slot="save"></md-icon
479-
></md-text-button>
475+
>Save<md-icon slot="icon">save</md-icon></md-text-button
476+
>
480477
</div>`;
481478
}
482479

0 commit comments

Comments
 (0)