File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
src/packages/frontend/project/warnings Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 33 * License: MS-RSL – see LICENSE.md for details
44 */
55
6- import { Alert } from "../.. /antd-bootstrap" ;
6+ import { Alert } from "@cocalc/frontend /antd-bootstrap" ;
77import {
88 React ,
99 useMemo ,
1010 useRedux ,
1111 useTypedRedux ,
1212 useActions ,
13- } from "../.. /app-framework" ;
14- import { Icon } from "../.. /components" ;
13+ } from "@cocalc/frontend /app-framework" ;
14+ import { Icon } from "@cocalc/frontend /components" ;
1515import { ALERT_STYLE } from "./common" ;
1616
1717export const DiskSpaceWarning : React . FC < { project_id : string } > = ( {
@@ -40,7 +40,7 @@ export const DiskSpaceWarning: React.FC<{ project_id: string }> = ({
4040 return null ;
4141 }
4242
43- // the disk_usage comes from the project.status datatbase entry – not the "project-status" synctable
43+ // the disk_usage comes from the project.status database entry – not the "project-status" synctable
4444 const project_status = project . get ( "status" ) ;
4545 const disk_usage = project_status ?. get ( "disk_MB" ) ;
4646 if ( disk_usage == null ) return null ;
@@ -57,7 +57,7 @@ export const DiskSpaceWarning: React.FC<{ project_id: string }> = ({
5757 < Icon name = "exclamation-triangle" /> WARNING: This project is running out
5858 of disk space: only { disk_free } MB out of { quotas . disk_quota } MB
5959 available.{ " " }
60- < a onClick = { ( ) => actions ?. set_active_tab ( "settings " ) } >
60+ < a onClick = { ( ) => actions ?. set_active_tab ( "upgrades " ) } >
6161 Increase the "Disk Space" quota
6262 </ a >
6363 { " or " }
You can’t perform that action at this time.
0 commit comments