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:
David Taylor
2023-08-02 12:44:18 +01:00
committed by GitHub
parent e680437030
commit 17d5e3ec23
3 changed files with 8 additions and 6 deletions

View File

@ -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();
},
});