Skip to content

Commit

Permalink
feat(frontend): update scrapper's src users tag input with current co…
Browse files Browse the repository at this point in the history
…nfig
  • Loading branch information
hbollon committed Aug 21, 2021
1 parent 359431f commit ec6aad3
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,11 @@ import Multiselect from '@vueform/multiselect'
) as HTMLInputElement;
scrappingQuantityField.value =
config.igopherConfig.scrapper.scrappingQuantity;
config.igopherConfig.scrapper.srcUsers.forEach((username: string) => {
this.srcUsrMultiSelect.options.push({ value: username, label: username });
this.srcUsrMultiSelect.value.push(username);
});
},
onClickDmBotLaunchBtn(): void {
const dmBotLaunchBtn = document.querySelector("#dmBotLaunchBtn");
Expand Down

0 comments on commit ec6aad3

Please sign in to comment.