Fix role being stale when creating screens
This commit is contained in:
parent
daf8284a5b
commit
aa2e6c97da
|
@ -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