Skip to content

Commit

Permalink
chore: correct naming
Browse files Browse the repository at this point in the history
Signed-off-by: Stef3st <[email protected]>
  • Loading branch information
Stef3st committed Jan 30, 2024
1 parent 40777f3 commit ec2e70b
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/open-scd/src/editors/substation/line-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import './function-editor.js';
import './general-equipment-editor.js';
import './l-node-editor.js';

import { LineIcon } from '../../icons/icons.js';
import { lineIcon } from '../../icons/icons.js';
import { styles } from './foundation.js';
import {
getChildElementsByTagName,
Expand Down Expand Up @@ -172,7 +172,7 @@ export class LineEditor extends LitElement {
render(): TemplateResult {
return html`<action-pane label=${this.header}>
<mwc-icon slot="icon" style="width:24px;height:24px"
>${LineIcon}</mwc-icon
>${lineIcon}</mwc-icon
>
<abbr slot="action" title="${translate('edit')}">
<mwc-icon-button
Expand Down
4 changes: 2 additions & 2 deletions packages/open-scd/src/editors/substation/process-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import './process-editor.js';
import './substation-editor.js';
import './process-editor.js';

import { ProcessIcon } from '../../icons/icons.js';
import { processIcon } from '../../icons/icons.js';
import { styles } from './foundation.js';
import {
getChildElementsByTagName,
Expand Down Expand Up @@ -216,7 +216,7 @@ export class ProcessEditor extends LitElement {
render(): TemplateResult {
return html`<action-pane label=${this.header}>
<mwc-icon slot="icon" style="width:24px;height:24px"
>${ProcessIcon}</mwc-icon
>${processIcon}</mwc-icon
>
<abbr slot="action" title="${translate('edit')}">
<mwc-icon-button
Expand Down
4 changes: 2 additions & 2 deletions packages/open-scd/src/editors/substation/substation-editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import './ied-editor.js';
import './powertransformer-editor.js';
import './voltage-level-editor.js';
import './general-equipment-editor.js';
import { SubstationIcon } from '../../icons/icons.js';
import { substationIcon } from '../../icons/icons.js';
import {
getChildElementsByTagName,
newActionEvent,
Expand Down Expand Up @@ -215,7 +215,7 @@ export class SubstationEditor extends LitElement {
render(): TemplateResult {
return html`${this.renderRedirectUI()}<action-pane label="${this.header}">
<mwc-icon slot="icon" style="width:24px;height:24px"
>${SubstationIcon}</mwc-icon
>${substationIcon}</mwc-icon
>
<abbr slot="action" title="${translate('lnode.tooltip')}">
<mwc-icon-button
Expand Down
6 changes: 3 additions & 3 deletions packages/open-scd/src/icons/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -685,12 +685,12 @@ export const sizableGooseIcon = svg`<svg viewBox="0 0 24 24">
<path fill="currentColor" d="M11,7H15V9H11V15H13V11H15V15A2,2 0 0,1 13,17H11A2,2 0 0,1 9,15V9A2,2 0 0,1 11,7M12,2A10,10 0 0,1 22,12A10,10 0 0,1 12,22A10,10 0 0,1 2,12A10,10 0 0,1 12,2M12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20A8,8 0 0,0 20,12A8,8 0 0,0 12,4Z" />
</svg>`;

export const SubstationIcon = svg`
export const substationIcon = svg`
<svg viewBox="0 0 24 24">
</svg>`;
export const LineIcon = svg`
export const lineIcon = svg`
<svg viewBox="0 0 24 24">
</svg>`;
export const ProcessIcon = svg`
export const processIcon = svg`
<svg viewBox="0 0 24 24">
</svg>`;

0 comments on commit ec2e70b

Please sign in to comment.