Skip to content

Commit

Permalink
[release] v0.15.0-unstable29
Browse files Browse the repository at this point in the history
  • Loading branch information
azukaar committed Mar 30, 2024
1 parent 6142e8b commit ba2d2c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions client/src/pages/storage/merges.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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>
}} />
</>
},
]}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cosmos-server",
"version": "0.15.0-unstable28",
"version": "0.15.0-unstable29",
"description": "",
"main": "test-server.js",
"bugs": {
Expand Down

0 comments on commit ba2d2c8

Please sign in to comment.