You need to use the api.modifyClass plugin api in an initializer
withPluginApi("0.8", api => {
api.modifyClass("controller:composer", {
action: Composer.CREATE_TOPIC,
draftKey: 'new_topic'
});
});
You need to use the api.modifyClass plugin api in an initializer
withPluginApi("0.8", api => {
api.modifyClass("controller:composer", {
action: Composer.CREATE_TOPIC,
draftKey: 'new_topic'
});
});