aboutsummaryrefslogtreecommitdiff
path: root/src/client/util/CurrentUserUtils.ts
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-16 00:35:12 -0400
committerbobzel <zzzman@gmail.com>2020-08-16 00:35:12 -0400
commitab45fb958e7dfd5828715249b7e2099d8df42592 (patch)
treeceb8da917f165a59d4027977314c94498240529d /src/client/util/CurrentUserUtils.ts
parent0f50185738a1bef1e5f015b269ae022c60eba8e6 (diff)
changed sidebar buttons to not 'stayincollection' but to 'alias' on drop to allow them to be copied easily to other button panels.
Diffstat (limited to 'src/client/util/CurrentUserUtils.ts')
-rw-r--r--src/client/util/CurrentUserUtils.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/util/CurrentUserUtils.ts b/src/client/util/CurrentUserUtils.ts
index d77ac8fe9..647efeec0 100644
--- a/src/client/util/CurrentUserUtils.ts
+++ b/src/client/util/CurrentUserUtils.ts
@@ -538,7 +538,8 @@ export class CurrentUserUtils {
iconShape: "square",
title,
_backgroundColor: "black",
- _stayInCollection: true,
+ dropAction: "alias",
+ removeDropProperties: new List<string>(["dropAction"]),
childDropAction: "same",
_width: 60,
_height: 60,