Update progress dialog on the sidebar
This commit is contained in:
parent
de13b957b9
commit
d694e36495
|
@ -147,16 +147,20 @@ export default function Sidebar(props: Props) {
|
|||
{constants.USAGE_DETAILS}
|
||||
</h5>
|
||||
<div style={{ color: '#959595' }}>
|
||||
{usage ? (
|
||||
constants.USAGE_INFO(
|
||||
usage,
|
||||
Math.ceil(
|
||||
Number(convertBytesToGBs(subscription?.storage))
|
||||
{
|
||||
usage ? (
|
||||
constants.USAGE_INFO(
|
||||
usage,
|
||||
Math.ceil(
|
||||
Number(convertBytesToGBs(subscription?.storage))
|
||||
)
|
||||
)
|
||||
)
|
||||
) : (
|
||||
<EnteSpinner />
|
||||
)}
|
||||
) :
|
||||
(
|
||||
<div style={{ textAlign: 'center' }}>
|
||||
<EnteSpinner style={{ borderWidth: '2px', width: '20px', height: '20px' }} />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
<div
|
||||
|
|
Loading…
Reference in a new issue