mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 05:13:32 +00:00
refactor: introduce empty placeholder
This commit is contained in:
committed by
Carlos Valente
parent
44f65b2fcc
commit
617e4b579b
@@ -149,6 +149,7 @@ export default function UrlPresetsForm() {
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{fields.length === 0 && <Panel.TableEmpty handleClick={addNew} />}
|
||||
{fields.map((preset, index) => {
|
||||
const maybeAliasError = errors.data?.[index]?.alias?.message;
|
||||
const maybeUrlError = errors.data?.[index]?.pathAndParams?.message;
|
||||
|
||||
Reference in New Issue
Block a user