1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-17 02:40:05 +00:00

fix: web component added tooltip for webout in studio

This commit is contained in:
Saad Jutt
2022-04-07 18:59:31 +05:00
parent 82633adbc4
commit 61080d4694

View File

@@ -2,7 +2,7 @@ import React, { useEffect, useRef, useState } from 'react'
import axios from 'axios' import axios from 'axios'
import Box from '@mui/material/Box' import Box from '@mui/material/Box'
import { Button, Paper, Stack, Tab } from '@mui/material' import { Button, Paper, Stack, Tab, Tooltip } from '@mui/material'
import { makeStyles } from '@mui/styles' import { makeStyles } from '@mui/styles'
import Editor, { OnMount } from '@monaco-editor/react' import Editor, { OnMount } from '@monaco-editor/react'
import { useLocation } from 'react-router-dom' import { useLocation } from 'react-router-dom'
@@ -102,7 +102,9 @@ const Studio = () => {
<TabList onChange={handleTabChange} centered> <TabList onChange={handleTabChange} centered>
<Tab className={classes.root} label="Code" value="1" /> <Tab className={classes.root} label="Code" value="1" />
<Tab className={classes.root} label="Log" value="2" /> <Tab className={classes.root} label="Log" value="2" />
<Tab className={classes.root} label="Webout" value="3" /> <Tooltip title="Displays content from the _webout fileref">
<Tab className={classes.root} label="Webout" value="3" />
</Tooltip>
</TabList> </TabList>
</Box> </Box>
<TabPanel value="1"> <TabPanel value="1">