[release] v0.15.0-unstable29

This commit is contained in:
Yann Stepienik
2024-03-30 13:52:59 +00:00
parent 6142e8bbc8
commit ba2d2c827f
2 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@ import React from "react";
import { useEffect, useState } from "react";
import * as API from "../../api";
import PrettyTableView from "../../components/tableView/prettyTableView";
import { DeleteButton } from "../../components/delete";
import { DeleteButton, DeleteIconButton } from "../../components/delete";
import { CloudOutlined, CloudServerOutlined, CompassOutlined, DeleteOutlined, DesktopOutlined, EditOutlined, FolderOutlined, LaptopOutlined, MobileOutlined, ReloadOutlined, TabletOutlined } from "@ant-design/icons";
import { Alert, Button, CircularProgress, InputLabel, ListItemIcon, ListItemText, MenuItem, Stack } from "@mui/material";
import { CosmosCheckbox, CosmosFormDivider, CosmosInputText } from "../config/users/formShortcuts";
@@ -75,11 +75,11 @@ export const StorageMerges = () => {
title: '',
clickable:true,
field: (r) => <>
<ResponsiveButton color={'error'} variant="outlined" startIcon={<DeleteOutlined />} onClick={() => {
<DeleteIconButton onDelete={() => {
API.storage.mounts.unmount({ mountPoint: r.path, permanent: true }).then(() => {
refresh();
});
}}>Delete</ResponsiveButton>
}} />
</>
},
]}

View File

@@ -1,6 +1,6 @@
{
"name": "cosmos-server",
"version": "0.15.0-unstable28",
"version": "0.15.0-unstable29",
"description": "",
"main": "test-server.js",
"bugs": {