Skip to content
Snippets Groups Projects
Commit 40043a95 authored by ali asaria's avatar ali asaria
Browse files

remove scripts section of settings because I am not sure what that is for

parent c74e402b
Branches add/sort-models-by-size
No related tags found
No related merge requests found
......@@ -15,8 +15,6 @@ export default function ExperimentSettings({
}) {
const [showJSON, setShowJSON] = useState(false);
let plugins = experimentInfo?.config?.plugins;
if (!experimentInfo) {
return null;
}
......@@ -41,26 +39,13 @@ export default function ExperimentSettings({
{JSON.stringify(experimentInfo, null, 2)}
</pre>
<Divider sx={{ mt: 2, mb: 2 }} />
<Typography level="title-lg" mb={2}>
Scripts&nbsp;
</Typography>
{plugins &&
plugins.map((plugin) => (
<>
<Chip color="success" size="lg">
{plugin}
</Chip>
&nbsp;
</>
))}
<Divider sx={{ mt: 2, mb: 2 }} />
<Button
color="danger"
variant="outlined"
onClick={() => {
if (
confirm(
'Are you sure you want to delete this project? If you click on "OK" There is no way to recover it.'
'Are you sure you want to delete this project? If you click on "OK" There is no way to recover it.',
)
) {
fetch(chatAPI.DELETE_EXPERIMENT_URL(experimentInfo?.id));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment