Skip to content

Commit

Permalink
fix(dashboard): incorrect padding on service name in logs
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald authored and eysi09 committed Aug 19, 2020
1 parent d8aaa60 commit eb2cd07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/components/logs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class Logs extends Component<Props, State> {
const { logs } = this.props
const { loading, selectedService } = this.state
const serviceNames = Object.keys(logs)
const maxServiceName = (max(serviceNames) || []).length
const maxServiceName = max(serviceNames.map((s) => s.length)) || 5
const options = [{ value: "all", label: "All service logs" }].concat(
serviceNames.map((name) => ({ value: name, label: name }))
)
Expand Down

0 comments on commit eb2cd07

Please sign in to comment.