@drawbridge/components 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -228,7 +228,10 @@ const TemplateUiHeader = ({
|
|
|
228
228
|
const TemplateUiBand = ({
|
|
229
229
|
record
|
|
230
230
|
}) => {
|
|
231
|
-
const alert = (0, import_helpers.alertFor)(
|
|
231
|
+
const alert = (0, import_helpers.alertFor)({
|
|
232
|
+
error: record == null ? void 0 : record.error,
|
|
233
|
+
status: record == null ? void 0 : record.status
|
|
234
|
+
});
|
|
232
235
|
if (!alert) return null;
|
|
233
236
|
const { icon: Icon, message } = alert;
|
|
234
237
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
@@ -196,7 +196,10 @@ const TemplateUiHeader = ({
|
|
|
196
196
|
const TemplateUiBand = ({
|
|
197
197
|
record
|
|
198
198
|
}) => {
|
|
199
|
-
const alert = alertFor(
|
|
199
|
+
const alert = alertFor({
|
|
200
|
+
error: record == null ? void 0 : record.error,
|
|
201
|
+
status: record == null ? void 0 : record.status
|
|
202
|
+
});
|
|
200
203
|
if (!alert) return null;
|
|
201
204
|
const { icon: Icon, message } = alert;
|
|
202
205
|
return /* @__PURE__ */ jsxs(
|