Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-22 09:20:29 +01:00
FIX: Resolve linting issues
Dieser Commit ist enthalten in:
Ursprung
622ab1b2ce
Commit
7b13605c7b
4 geänderte Dateien mit 10 neuen und 12 gelöschten Zeilen
|
@ -76,9 +76,9 @@ export default Component.extend({
|
|||
const user = {
|
||||
username: u,
|
||||
url: `/u/${u}`
|
||||
}
|
||||
};
|
||||
users.push(user);
|
||||
})
|
||||
});
|
||||
}
|
||||
}
|
||||
return users;
|
||||
|
@ -87,7 +87,6 @@ export default Component.extend({
|
|||
@discourseComputed('value')
|
||||
userProfileUrl(value) {
|
||||
const isUser = this.get("isUser");
|
||||
const isUserSelector = this.get("isUserSelector");
|
||||
|
||||
if (isUser) {
|
||||
return `/u/${value.username}`;
|
||||
|
|
|
@ -56,7 +56,7 @@ export default Controller.extend({
|
|||
},
|
||||
|
||||
showEditColumnsModal() {
|
||||
const controller = showModal("admin-wizards-submissions-columns", {
|
||||
return showModal("admin-wizards-submissions-columns", {
|
||||
model: {
|
||||
fields: this.get('fields'),
|
||||
submissions: this.get('submissions')
|
||||
|
|
|
@ -224,7 +224,6 @@ CustomWizard.reopenClass({
|
|||
})
|
||||
.then((result) => {
|
||||
if (result.wizard) {
|
||||
console.log(result);
|
||||
let fields = [{ id: "username", label: "User"}];
|
||||
let submissions = [];
|
||||
let wizard = result.wizard;
|
||||
|
@ -248,7 +247,7 @@ CustomWizard.reopenClass({
|
|||
let submittedAt = {
|
||||
id: "submitted_at",
|
||||
label: "Submitted At"
|
||||
}
|
||||
};
|
||||
|
||||
fields.push(submittedAt);
|
||||
|
||||
|
|
Laden …
In neuem Issue referenzieren