Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

fix(shell-center-row): Error when no action-bar is provided #1032

Merged
merged 8 commits into from
Jul 10, 2020
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ export class CalciteShellCenterRow {
) : null;

const children = [actionBarNode, contentNode];
if (actionBar.position === "end") {

if (actionBar?.position === "end") {
children.reverse();
}

Expand Down