Skip to content

Commit a8a7521

Browse files
committed
limit to only terminal blocks
1 parent 700354b commit a8a7521

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/app/block/blockframe-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ const HeaderEndIcons = React.memo(({ viewModel, nodeModel, blockId }: HeaderEndI
132132
if (endIconButtons && endIconButtons.length > 0) {
133133
endIconsElem.push(...endIconButtons.map((button, idx) => <IconButton key={idx} decl={button} />));
134134
}
135-
if (showSplitButtons) {
135+
if (showSplitButtons && viewModel?.viewType === "term") {
136136
const splitHorizontalDecl: IconButtonDecl = {
137137
elemtype: "iconbutton",
138138
icon: "columns",

0 commit comments

Comments
 (0)