refactor: prevent accidental edit in operator view (#659)

* refactor: prevent accidental edit in operator view
This commit is contained in:
Carlos Valente
2023-12-18 15:07:30 +01:00
committed by Carlos Valente
parent 6886a3236f
commit 820eacde91
2 changed files with 12 additions and 2 deletions
@@ -380,5 +380,12 @@ export const getOperatorOptions = (userFields: UserFields, timeFormat: TimeForma
user9: userFields.user9 || 'user9',
},
},
{
id: 'shouldEdit',
title: 'Edit user field',
description: 'Allows editing an events user field by long pressing on it. Needs a selected highlighted field',
type: 'boolean',
defaultValue: false,
},
];
};