Skip to content

Commit

Permalink
Merge branch 'deploy/hammer' into hammer/fix-delivery-desc
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
  • Loading branch information
aaronchongth committed Sep 20, 2023
2 parents 39d340e + b556e98 commit 7045716
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions packages/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
"private": true,
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"start": "pnpm run --filter {.}^... build && concurrently npm:start:rmf-server npm:start:react",
"start": "concurrently npm:start:rmf-server npm:start:react",
"start:sim": "concurrently npm:start:rmf-server npm:start:rmf npm:start:react",
"start:clinic": "RMF_DASHBOARD_DEMO_MAP=clinic.launch.xml pnpm run start:sim",
"start:airport": "RMF_DASHBOARD_DEMO_MAP=airport_terminal.launch.xml pnpm run start:sim",
"start:react": "react-scripts start",
"start:react": "pnpm run --filter {.}^... build && react-scripts start",
"start:rmf": "node scripts/start-rmf.js",
"start:rmf-server": "RMF_SERVER_USE_SIM_TIME=true npm --prefix ../api-server start",
"start:rmf-server:psql": "RMF_SERVER_USE_SIM_TIME=true npm run --prefix ../api-server start:psql",
Expand Down
2 changes: 1 addition & 1 deletion packages/dashboard/src/components/app-base.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export function AppBase({ children }: React.PropsWithChildren<{}>): JSX.Element
title: 'Message',
value:
'To ensure maximum compatibility, please reduce the zoom ' +
'level in the browser (Ctrl+Minus) or display settings, ' +
'level in the browser (Ctrl-Minus) or display settings, ' +
'or change to a higher resolution display device.',
},
]}
Expand Down
4 changes: 2 additions & 2 deletions packages/react-components/lib/alert-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,11 @@ export const AlertDialog = React.memo((props: DialogAlertProps) => {
Inspect
</Button>
) : null}
{acknowledged || onAcknowledge === undefined ? (
{acknowledged ? (
<Button size="small" variant="contained" disabled={true} autoFocus>
{acknowledgedBy ? `Acknowledged by ${acknowledgedBy}` : 'Acknowledged'}
</Button>
) : (
) : onAcknowledge === undefined ? null : (
<Button
size="small"
variant="contained"
Expand Down

0 comments on commit 7045716

Please sign in to comment.