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 = {
|
const user = {
|
||||||
username: u,
|
username: u,
|
||||||
url: `/u/${u}`
|
url: `/u/${u}`
|
||||||
}
|
};
|
||||||
users.push(user);
|
users.push(user);
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return users;
|
return users;
|
||||||
|
@ -87,7 +87,6 @@ export default Component.extend({
|
||||||
@discourseComputed('value')
|
@discourseComputed('value')
|
||||||
userProfileUrl(value) {
|
userProfileUrl(value) {
|
||||||
const isUser = this.get("isUser");
|
const isUser = this.get("isUser");
|
||||||
const isUserSelector = this.get("isUserSelector");
|
|
||||||
|
|
||||||
if (isUser) {
|
if (isUser) {
|
||||||
return `/u/${value.username}`;
|
return `/u/${value.username}`;
|
||||||
|
|
|
@ -56,7 +56,7 @@ export default Controller.extend({
|
||||||
},
|
},
|
||||||
|
|
||||||
showEditColumnsModal() {
|
showEditColumnsModal() {
|
||||||
const controller = showModal("admin-wizards-submissions-columns", {
|
return showModal("admin-wizards-submissions-columns", {
|
||||||
model: {
|
model: {
|
||||||
fields: this.get('fields'),
|
fields: this.get('fields'),
|
||||||
submissions: this.get('submissions')
|
submissions: this.get('submissions')
|
||||||
|
|
|
@ -224,7 +224,6 @@ CustomWizard.reopenClass({
|
||||||
})
|
})
|
||||||
.then((result) => {
|
.then((result) => {
|
||||||
if (result.wizard) {
|
if (result.wizard) {
|
||||||
console.log(result);
|
|
||||||
let fields = [{ id: "username", label: "User"}];
|
let fields = [{ id: "username", label: "User"}];
|
||||||
let submissions = [];
|
let submissions = [];
|
||||||
let wizard = result.wizard;
|
let wizard = result.wizard;
|
||||||
|
@ -248,7 +247,7 @@ CustomWizard.reopenClass({
|
||||||
let submittedAt = {
|
let submittedAt = {
|
||||||
id: "submitted_at",
|
id: "submitted_at",
|
||||||
label: "Submitted At"
|
label: "Submitted At"
|
||||||
}
|
};
|
||||||
|
|
||||||
fields.push(submittedAt);
|
fields.push(submittedAt);
|
||||||
|
|
||||||
|
|
Laden …
In neuem Issue referenzieren