mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-31 02:21:35 +00:00
Fix order navbar (#1178)
This commit is contained in:
parent
0ac68d78c8
commit
4741c660c3
@ -162,7 +162,7 @@ const NavBar = (): JSX.Element => {
|
||||
sx={tabSx}
|
||||
label={smallBar ? undefined : t('Order')}
|
||||
value='order'
|
||||
disabled={!slot?.hashId || !slot?.getRobot(slot?.activeShortAlias ?? '')?.activeOrderId}
|
||||
disabled={!slot?.getRobot()?.activeOrderId}
|
||||
icon={<Assignment />}
|
||||
iconPosition='start'
|
||||
/>
|
||||
|
@ -154,7 +154,7 @@ const RobotProfile = ({
|
||||
)}
|
||||
</Grid>
|
||||
|
||||
{loadingCoordinators > 0 ? (
|
||||
{loadingCoordinators > 0 && !Boolean(robot?.activeOrderId) ? (
|
||||
<Grid>
|
||||
<b>{t('Looking for orders!')}</b>
|
||||
<LinearProgress />
|
||||
|
Loading…
Reference in New Issue
Block a user