Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 01:10:28 +01:00
Fix prettier errors
Dieser Commit ist enthalten in:
Ursprung
244f7acea6
Commit
8eee68a066
6 geänderte Dateien mit 12 neuen und 6 gelöschten Zeilen
|
@ -41,7 +41,8 @@ export default Component.extend(UndoChanges, {
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
|
|
||||||
messageUrl: "https://pavilion.tech/products/discourse-custom-wizard-plugin/documentation/action-settings",
|
messageUrl:
|
||||||
|
"https://pavilion.tech/products/discourse-custom-wizard-plugin/documentation/action-settings",
|
||||||
|
|
||||||
@discourseComputed("action.type")
|
@discourseComputed("action.type")
|
||||||
messageKey(type) {
|
messageKey(type) {
|
||||||
|
|
|
@ -27,7 +27,8 @@ export default Component.extend(UndoChanges, {
|
||||||
isTextType: or("isText", "isTextarea", "isComposer"),
|
isTextType: or("isText", "isTextarea", "isComposer"),
|
||||||
isComposerPreview: equal("field.type", "composer_preview"),
|
isComposerPreview: equal("field.type", "composer_preview"),
|
||||||
categoryPropertyTypes: selectKitContent(["id", "slug"]),
|
categoryPropertyTypes: selectKitContent(["id", "slug"]),
|
||||||
messageUrl: "https://pavilion.tech/products/discourse-custom-wizard-plugin/documentation/field-settings",
|
messageUrl:
|
||||||
|
"https://pavilion.tech/products/discourse-custom-wizard-plugin/documentation/field-settings",
|
||||||
|
|
||||||
@discourseComputed("field.type")
|
@discourseComputed("field.type")
|
||||||
validations(type) {
|
validations(type) {
|
||||||
|
|
|
@ -4,7 +4,8 @@ import CustomWizardCustomField from "../models/custom-wizard-custom-field";
|
||||||
export default Controller.extend({
|
export default Controller.extend({
|
||||||
messageKey: "create",
|
messageKey: "create",
|
||||||
fieldKeys: ["klass", "type", "name", "serializers"],
|
fieldKeys: ["klass", "type", "name", "serializers"],
|
||||||
documentationUrl: "https://pavilion.tech/products/discourse-custom-wizard-plugin/documentation/custom-fields",
|
documentationUrl:
|
||||||
|
"https://pavilion.tech/products/discourse-custom-wizard-plugin/documentation/custom-fields",
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
addField() {
|
addField() {
|
||||||
|
|
|
@ -2,7 +2,8 @@ import Controller from "@ember/controller";
|
||||||
import { default as discourseComputed } from "discourse-common/utils/decorators";
|
import { default as discourseComputed } from "discourse-common/utils/decorators";
|
||||||
|
|
||||||
export default Controller.extend({
|
export default Controller.extend({
|
||||||
documentationUrl: "https://pavilion.tech/products/discourse-custom-wizard-plugin/documentation/",
|
documentationUrl:
|
||||||
|
"https://pavilion.tech/products/discourse-custom-wizard-plugin/documentation/",
|
||||||
|
|
||||||
@discourseComputed("wizardId")
|
@discourseComputed("wizardId")
|
||||||
wizardName(wizardId) {
|
wizardName(wizardId) {
|
||||||
|
|
|
@ -7,7 +7,8 @@ import I18n from "I18n";
|
||||||
import { underscore } from "@ember/string";
|
import { underscore } from "@ember/string";
|
||||||
|
|
||||||
export default Controller.extend({
|
export default Controller.extend({
|
||||||
messageUrl: "https://pavilion.tech/products/discourse-custom-wizard-plugin/documentation/wizard-manager",
|
messageUrl:
|
||||||
|
"https://pavilion.tech/products/discourse-custom-wizard-plugin/documentation/wizard-manager",
|
||||||
messageKey: "info",
|
messageKey: "info",
|
||||||
messageIcon: "info-circle",
|
messageIcon: "info-circle",
|
||||||
messageClass: "info",
|
messageClass: "info",
|
||||||
|
|
|
@ -2,7 +2,8 @@ import Controller from "@ember/controller";
|
||||||
import { default as discourseComputed } from "discourse-common/utils/decorators";
|
import { default as discourseComputed } from "discourse-common/utils/decorators";
|
||||||
|
|
||||||
export default Controller.extend({
|
export default Controller.extend({
|
||||||
documentationUrl: "https://pavilion.tech/products/discourse-custom-wizard-plugin/documentation/",
|
documentationUrl:
|
||||||
|
"https://pavilion.tech/products/discourse-custom-wizard-plugin/documentation/",
|
||||||
|
|
||||||
@discourseComputed("wizardId")
|
@discourseComputed("wizardId")
|
||||||
wizardName(wizardId) {
|
wizardName(wizardId) {
|
||||||
|
|
Laden …
In neuem Issue referenzieren