Fixed auto role rule emoji loading #1.1.0.rc5
This commit is contained in:
parent
4ea1b5b94c
commit
223946ad76
@ -107,7 +107,6 @@ export class AutoRolesRulesComponent extends ComponentWithTable implements OnIni
|
|||||||
).subscribe(data => {
|
).subscribe(data => {
|
||||||
if (data.discord.guilds) {
|
if (data.discord.guilds) {
|
||||||
this.guild = data.discord.guilds[0];
|
this.guild = data.discord.guilds[0];
|
||||||
}
|
|
||||||
this.emojis = this.guild.emojis
|
this.emojis = this.guild.emojis
|
||||||
.map(x => {
|
.map(x => {
|
||||||
return { label: x.name, value: x };
|
return { label: x.name, value: x };
|
||||||
@ -116,6 +115,7 @@ export class AutoRolesRulesComponent extends ComponentWithTable implements OnIni
|
|||||||
.map(x => {
|
.map(x => {
|
||||||
return { label: x.name, value: x };
|
return { label: x.name, value: x };
|
||||||
});
|
});
|
||||||
|
}
|
||||||
this.spinner.hideSpinner();
|
this.spinner.hideSpinner();
|
||||||
});
|
});
|
||||||
this.loadNextPage();
|
this.loadNextPage();
|
||||||
|
Loading…
Reference in New Issue
Block a user