0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-25 18:50:27 +01:00

optional chaining to prevent errors

Dieser Commit ist enthalten in:
Faizaan Gagan 2021-12-08 12:50:57 +05:30
Ursprung 1a08c9b0c0
Commit 9c98887437

Datei anzeigen

@ -8,9 +8,10 @@ export default {
component.set("wizardList", result); component.set("wizardList", result);
}) })
.catch(popupAjaxError); .catch(popupAjaxError);
attrs
component.set( component.set(
"wizardListVal", "wizardListVal",
attrs.category.custom_fields.create_topic_wizard attrs?.category?.custom_fields?.create_topic_wizard
); );
}, },