mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 02:51:14 +08:00
DEV: Update composer service to inherit from Service, not Controller (#22929)
This was forgotten during the work in 22991bba44ffae62d72bdb833787f73f17a8f6bf This revealed two differences we were depending on: the merged `actions` hash (re-implemented on the service), and a couple of calls to `composer.send` (now removed)
This commit is contained in:
@ -427,7 +427,6 @@ export default Component.extend({
|
||||
},
|
||||
|
||||
_closeModal() {
|
||||
const composer = getOwner(this).lookup("controller:composer");
|
||||
composer.send("closeModal");
|
||||
getOwner(this).lookup("service:modal").close();
|
||||
},
|
||||
});
|
||||
|
Reference in New Issue
Block a user