remove code we aren't going to use
This commit is contained in:
parent
a675f8b8fd
commit
c8ea09854f
|
|
@ -1,7 +1,6 @@
|
||||||
import Component from "@glimmer/component";
|
import Component from "@glimmer/component";
|
||||||
import { action } from "@ember/object";
|
import { action } from "@ember/object";
|
||||||
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
|
import didInsert from "@ember/render-modifiers/modifiers/did-insert";
|
||||||
import { inject as service } from "@ember/service";
|
|
||||||
import { TrackedObject } from "@ember-compat/tracked-built-ins";
|
import { TrackedObject } from "@ember-compat/tracked-built-ins";
|
||||||
import AssignUserForm from "discourse/plugins/discourse-assign/discourse/components/assign-user-form";
|
import AssignUserForm from "discourse/plugins/discourse-assign/discourse/components/assign-user-form";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,18 +0,0 @@
|
||||||
import Service from '@ember/service';
|
|
||||||
import { action } from '@ember/object';
|
|
||||||
|
|
||||||
export default class BulkAssignManagerService extends Service {
|
|
||||||
registeredAction = null;
|
|
||||||
|
|
||||||
@action
|
|
||||||
registerAction(action) {
|
|
||||||
this.registeredAction = action;
|
|
||||||
}
|
|
||||||
|
|
||||||
@action
|
|
||||||
invokeAction(...args) {
|
|
||||||
if (typeof this.registeredAction === 'function') {
|
|
||||||
this.registeredAction(...args);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue