@@ -88,7 +88,9 @@
}
.uppy-Dashboard-Item-errorMessageBtn {
+ font-size: 11px;
text-decoration: underline;
+ color: darken($red, 15%);
cursor: pointer;
font-weight: 500;
@@ -1,7 +1,8 @@
import { h } from 'preact'
const metaFieldIdToName = (metaFieldId, metaFields) => {
- const field = metaFields.filter(f => f.id === metaFieldId)
+ const fields = typeof metaFields === 'function' ? metaFields() : metaFields
+ const field = fields.filter(f => f.id === metaFieldId)
return field[0].name