Skip to content

Commit 2311854

Browse files
committed
feat: remove the Create a knowledge map button
1 parent 52c8f77 commit 2311854

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vis/js/templates/footers/CreateMapButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ const getIsEmbed = (state: State) => state.misc.isEmbedded;
88

99
export const CreateMapButton: FC = () => {
1010
const isEmbed = useSelector(getIsEmbed);
11-
const { isGeoMap } = useVisualizationType();
11+
const { isGeoMap, isStreamgraph } = useVisualizationType();
1212

13-
if (isEmbed || isGeoMap) {
13+
if (isEmbed || isGeoMap || isStreamgraph) {
1414
return null;
1515
}
1616

0 commit comments

Comments
 (0)