flip bool
This commit is contained in:
parent
f1cd6d01e9
commit
c32b52430e
|
@ -62,6 +62,7 @@
|
|||
|
||||
// Required to check any updated deployment statuses between polls
|
||||
function checkIncomingDeploymentStatus(current, incoming) {
|
||||
console.log(current, incoming)
|
||||
for (let incomingDeployment of incoming) {
|
||||
if (incomingDeployment.status === DeploymentStatus.FAILURE || incomingDeployment.status === DeploymentStatus.SUCCESS) {
|
||||
const currentDeployment = current.find(
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
}
|
||||
|
||||
const openApp = app => {
|
||||
if (app.lockedBy && app.lockedBy?.email === $auth.user?.email) {
|
||||
if (app.lockedBy && app.lockedBy?.email !== $auth.user?.email) {
|
||||
notifications.error(`App locked by ${app.lockedBy.email}. Please allow lock to expire or have them unlock this app.`)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue