fix ui no decimals for zoom requests (#2016)
This commit is contained in:
parent
db059f2a1e
commit
3ba797f6c6
1 changed files with 2 additions and 2 deletions
|
|
@ -67,8 +67,8 @@ export const playerSlice = createSlice({
|
|||
const { enabled, range } = action.payload;
|
||||
state.timelineZoom = {
|
||||
enabled,
|
||||
startTs: range?.[0] || 0,
|
||||
endTs: range?.[1] || 0,
|
||||
startTs: Math.round(range?.[0] ?? 0),
|
||||
endTs: Math.round(range?.[1] ?? 0),
|
||||
};
|
||||
},
|
||||
setZoomTab: (state, action: PayloadAction<'overview' | 'journey' | 'issues' | 'errors'>) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue