mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-19 02:08:11 +00:00
1 parent
4d7242bfc6
commit
9046bae712
2 files changed
+4
No files matched your search
@@ -45,6 +45,9 @@
|
||||
var component, dayIndex, blockIndex, isFirstBlock, isLastBlock,
|
||||
dragGrip, leftGrip, rightGrip, topGrip, bottomGrip;
|
||||
|
||||
// Don't show grips for blocks of less than 45 minutes
|
||||
if (scope.block.length < 3) return;
|
||||
|
||||
component = scope.block.component;
|
||||
dayIndex = scope.block.dayIndex;
|
||||
blockIndex = _.findIndex(component.blocks, ['dayIndex', dayIndex]);
|
||||
|
||||
Reference in new issue
Block a user