Skip to content

Commit

Permalink
remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
matborowczyk committed Nov 5, 2024
1 parent 1bcdb1c commit 54e714d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/UI/Components/Diagram/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ export function updateAttributes(
if (isInitial) {
serviceEntity.appendColumns(attributesToDisplay);
} else {
serviceEntity.editColumns(
serviceEntity.updateColumns(
attributesToDisplay,
serviceEntity.attributes.isCollapsed,
);
Expand Down
2 changes: 1 addition & 1 deletion src/UI/Components/Diagram/shapes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ export class ServiceEntityBlock extends shapes.standard.HeaderedRecord {
* @param {boolean} [shouldBeCollapsed=true] - Flag indicating whether the entity should be collapsed.
* @returns {this} The updated entity block.
*/
editColumns(data: Array<ColumnData>, shouldBeCollapsed = true): this {
updateColumns(data: Array<ColumnData>, shouldBeCollapsed = true): this {
this._setColumns(data, shouldBeCollapsed);

return this;
Expand Down

0 comments on commit 54e714d

Please sign in to comment.