We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf32742 commit 04f56ffCopy full SHA for 04f56ff
resources/assets/scripts/components/server/components/FileManagerFileRow.vue
@@ -17,7 +17,6 @@
17
<script>
18
import * as Helpers from './../../../helpers/index';
19
import { FileTextIcon, Link2Icon } from 'vue-feather-icons';
20
- import isObject from 'lodash/isObject';
21
import FileManagerContextMenu from './FileManagerContextMenu';
22
23
export default {
@@ -67,7 +66,7 @@
67
66
68
const menuWidth = this.$refs.contextMenu.$el.offsetWidth;
69
const positionElement = e.clientX - Math.round(menuWidth / 2);
70
-
+
71
this.$refs.contextMenu.$el.style = `left: ${positionElement}; top: ${e.clientY}`;
72
},
73
0 commit comments