parent
d2193bf428
commit
a79a87de4c
@ -3,7 +3,7 @@
|
|||||||
import { clickOutside } from "../base/outsideclick";
|
import { clickOutside } from "../base/outsideclick";
|
||||||
import { focusTrap } from "svelte-focus-trap";
|
import { focusTrap } from "svelte-focus-trap";
|
||||||
import Toastify from "toastify-js";
|
import Toastify from "toastify-js";
|
||||||
import { UserGroupService } from "@odit/lfk-client-js";
|
import { UserGroupService } from "@odit/lfk-client-js";
|
||||||
export let modal_open;
|
export let modal_open;
|
||||||
export let current_groups;
|
export let current_groups;
|
||||||
let description_input_value;
|
let description_input_value;
|
||||||
@ -38,8 +38,8 @@ import { UserGroupService } from "@odit/lfk-client-js";
|
|||||||
}).showToast();
|
}).showToast();
|
||||||
let postdata = {
|
let postdata = {
|
||||||
name: name_input_value,
|
name: name_input_value,
|
||||||
description: description_input_value
|
description: description_input_value,
|
||||||
}
|
};
|
||||||
UserGroupService.userGroupControllerPost(postdata)
|
UserGroupService.userGroupControllerPost(postdata)
|
||||||
.then((result) => {
|
.then((result) => {
|
||||||
name_input_value = "";
|
name_input_value = "";
|
||||||
@ -109,7 +109,8 @@ import { UserGroupService } from "@odit/lfk-client-js";
|
|||||||
</h3>
|
</h3>
|
||||||
<div class="mt-2 mb-6">
|
<div class="mt-2 mb-6">
|
||||||
<p class="text-sm text-gray-500">
|
<p class="text-sm text-gray-500">
|
||||||
Please provide the required information for creating a new user group.
|
Please provide the required information for creating a new
|
||||||
|
user group.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="grid grid-cols-6 gap-6">
|
<div class="grid grid-cols-6 gap-6">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user