MCPcopy Create free account
hub / github.com/codecombat/codecombat / editMandate

Method editMandate

app/views/admin/MainAdminView.js:567–570  ·  view source on GitHub ↗
(mandate)

Source from the content-addressed store, hash-verified

565 }
566
567 editMandate (mandate) {
568 mandate = new Mandate({ _id: mandate.get('0')._id }) // Work around weirdness in this actually being a singleton
569 return (typeof this.openModalView === 'function' ? this.openModalView(new ModelModal({ models: [mandate] })) : undefined)
570 }
571 }
572 MainAdminView.initClass()
573 return MainAdminView

Callers 1

onClickEditMandateMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected