From 7cdffe30e36e5cad0284f48ea97925958e12704c Mon Sep 17 00:00:00 2001 From: Sabir Hassan Date: Tue, 26 Jul 2022 23:53:07 +0500 Subject: [PATCH] fix(web): webout tab item fixed in studio page --- web/src/containers/Studio/editor.tsx | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/web/src/containers/Studio/editor.tsx b/web/src/containers/Studio/editor.tsx index fc3e245..57b98aa 100644 --- a/web/src/containers/Studio/editor.tsx +++ b/web/src/containers/Studio/editor.tsx @@ -14,7 +14,8 @@ import { Select, SelectChangeEvent, Tab, - Tooltip + Tooltip, + Typography } from '@mui/material' import { styled } from '@mui/material/styles' @@ -137,6 +138,9 @@ const SASjsEditor = ({ const content = localStorage.getItem('fileContent') ?? '' setFileContent(content) } + setLog('') + setWebout('') + setTab('1') // eslint-disable-next-line react-hooks/exhaustive-deps }, [selectedFilePath]) @@ -332,9 +336,14 @@ const SASjsEditor = ({ - - - + + Webout + + } + value="3" + />