parent
ace1a1b063
commit
6870a7f9b1
@ -2,7 +2,7 @@
|
|||||||
import { _ } from "svelte-i18n";
|
import { _ } from "svelte-i18n";
|
||||||
import Toastify from "toastify-js";
|
import Toastify from "toastify-js";
|
||||||
import { RunnerTeamService } from "@odit/lfk-client-js";
|
import { RunnerTeamService } from "@odit/lfk-client-js";
|
||||||
const teams_promise = RunnerTeamService.runnerTeamControllerGetAll()
|
const teams_promise = RunnerTeamService.runnerTeamControllerGetAll();
|
||||||
import "gridjs/dist/theme/mermaid.css";
|
import "gridjs/dist/theme/mermaid.css";
|
||||||
import { users as usersstore } from "../store.js";
|
import { users as usersstore } from "../store.js";
|
||||||
import store from "../store";
|
import store from "../store";
|
||||||
@ -138,7 +138,7 @@
|
|||||||
on:click={() => {
|
on:click={() => {
|
||||||
UserService.userControllerRemove(u.id, true)
|
UserService.userControllerRemove(u.id, true)
|
||||||
.then((resp) => {
|
.then((resp) => {
|
||||||
current_teams=current_teams.filter(obj=>obj.id!==u.id);
|
current_teams = current_teams.filter((obj) => obj.id !== u.id);
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
// error deleting user
|
// error deleting user
|
||||||
|
Loading…
x
Reference in New Issue
Block a user