Fix role being stale when creating screens
This commit is contained in:
parent
8a5a1bf1ab
commit
6a4067da52
|
@ -12,11 +12,12 @@
|
||||||
let screenName = ""
|
let screenName = ""
|
||||||
let url = ""
|
let url = ""
|
||||||
let selectedScreens = []
|
let selectedScreens = []
|
||||||
let roleId = $selectedAccessRole || "BASIC"
|
|
||||||
let showProgressCircle = false
|
let showProgressCircle = false
|
||||||
let routeError
|
let routeError
|
||||||
let createdScreens = []
|
let createdScreens = []
|
||||||
|
|
||||||
|
$: roleId = $selectedAccessRole || "BASIC"
|
||||||
|
|
||||||
const createScreens = async () => {
|
const createScreens = async () => {
|
||||||
for (let screen of selectedScreens) {
|
for (let screen of selectedScreens) {
|
||||||
let test = screen.create()
|
let test = screen.create()
|
||||||
|
|
Loading…
Reference in New Issue