parent
f30b67080b
commit
b6ab7517c1
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ export const MeasurementsView = ({
|
||||||
* Which is a bit confusing. So in this case, set the view to measurements.
|
* Which is a bit confusing. So in this case, set the view to measurements.
|
||||||
*/
|
*/
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!config?.views || !config.views.includes(state.view)) update.view('measurements')
|
if (state.view !== 'measurements') update.view('measurements')
|
||||||
if (state._.missingMeasurements && state._.missingMeasurements.length > 0)
|
if (state._.missingMeasurements && state._.missingMeasurements.length > 0)
|
||||||
update.notify(
|
update.notify(
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue