Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
FIX: remove incorrectly merged code
Dieser Commit ist enthalten in:
Ursprung
e38b54351f
Commit
072a3ea142
1 geänderte Dateien mit 0 neuen und 6 gelöschten Zeilen
|
@ -1,5 +1,4 @@
|
||||||
import { default as discourseComputed } from "discourse-common/utils/decorators";
|
import { default as discourseComputed } from "discourse-common/utils/decorators";
|
||||||
import { subscriptionSelectKitContent } from "discourse/plugins/discourse-custom-wizard/discourse/lib/wizard-subscription";
|
|
||||||
import { empty, equal, or } from "@ember/object/computed";
|
import { empty, equal, or } from "@ember/object/computed";
|
||||||
import { notificationLevels, selectKitContent } from "../lib/wizard";
|
import { notificationLevels, selectKitContent } from "../lib/wizard";
|
||||||
import { computed } from "@ember/object";
|
import { computed } from "@ember/object";
|
||||||
|
@ -94,11 +93,6 @@ export default Component.extend(UndoChanges, {
|
||||||
return apis.find((a) => a.name === api).endpoints;
|
return apis.find((a) => a.name === api).endpoints;
|
||||||
},
|
},
|
||||||
|
|
||||||
@discourseComputed
|
|
||||||
actionTypes() {
|
|
||||||
return subscriptionSelectKitContent("action", "types");
|
|
||||||
},
|
|
||||||
|
|
||||||
@discourseComputed("fieldTypes")
|
@discourseComputed("fieldTypes")
|
||||||
hasEventsField(fieldTypes) {
|
hasEventsField(fieldTypes) {
|
||||||
return fieldTypes.map((ft) => ft.id).includes("event");
|
return fieldTypes.map((ft) => ft.id).includes("event");
|
||||||
|
|
Laden …
In neuem Issue referenzieren