mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 14:40:50 +01:00
catalog purchase indicator
This commit is contained in:
parent
ba9d51d44b
commit
5eb39cc2a8
@ -171,7 +171,7 @@ export const CatalogPurchaseWidgetView: FC<CatalogPurchaseWidgetViewProps> = pro
|
|||||||
switch(purchaseState)
|
switch(purchaseState)
|
||||||
{
|
{
|
||||||
case CatalogPurchaseState.CONFIRM:
|
case CatalogPurchaseState.CONFIRM:
|
||||||
return <Button onClick={ event => purchase() }>{ LocalizeText('catalog.marketplace.confirm_title') }</Button>;
|
return <Button variant='warning' onClick={ event => purchase() }>{ LocalizeText('catalog.marketplace.confirm_title') }</Button>;
|
||||||
case CatalogPurchaseState.PURCHASE:
|
case CatalogPurchaseState.PURCHASE:
|
||||||
return <Button disabled><LayoutLoadingSpinnerView /></Button>;
|
return <Button disabled><LayoutLoadingSpinnerView /></Button>;
|
||||||
case CatalogPurchaseState.FAILED:
|
case CatalogPurchaseState.FAILED:
|
||||||
|
Loading…
Reference in New Issue
Block a user