Commit ef0f1dc9 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

HomePage: Don't fail when edit link has been removed

parent d7429596
......@@ -61,7 +61,9 @@
});
})
.push(function (link) {
gadget.props.element.querySelector(".edit-this").href = link;
if (gadget.props.element.querySelector(".edit-this")) {
gadget.props.element.querySelector(".edit-this").href = link;
}
return RSVP.all([
gadget.getDeclaredGadget("app_list")
]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment