aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authormehekj <mehek.jethani@gmail.com>2022-03-17 16:56:54 -0400
committermehekj <mehek.jethani@gmail.com>2022-03-17 16:56:54 -0400
commit1e3ad4de06f83eab54628de660529fefb9a0dc63 (patch)
treeb7c05080dac66366768f23e59a43f62533a22415 /src/client/util/CurrentUserUtils.ts
parentcca2faa0bc4083db7b1a0b9cb6a9c5092e332d31 (diff)
parent5d50e0673fde8aabb2d87a75624b40d3b9c65df3 (diff)
Merge branch 'master' into temporalmedia-mehek
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r--src/client/util/CurrentUserUtils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index 90b43c415..a8b0da369 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -1164,7 +1164,7 @@ export class CurrentUserUtils {
dontUndo: true,
title,
color: Colors.WHITE,
- backgroundColor: "transparent",
+ backgroundColor: checkResult ? ComputedField.MakeFunction(checkResult) as any : "transparent",
_dropAction: "alias",
hidden: hidden ? ComputedField.MakeFunction(hidden) as any : undefined,
_removeDropProperties: new List<string>(["dropAction", "_stayInCollection"]),