diff --git a/app/imports/ui/components/ColorPicker.vue b/app/imports/ui/components/ColorPicker.vue
index 35326916..eb385581 100644
--- a/app/imports/ui/components/ColorPicker.vue
+++ b/app/imports/ui/components/ColorPicker.vue
@@ -3,7 +3,6 @@
v-model="opened"
:close-on-content-click="false"
transition="slide-y-transition"
- lazy
left
>
diff --git a/app/imports/ui/components/global/IconPicker.vue b/app/imports/ui/components/global/IconPicker.vue
index d5d92a2c..d44570ad 100644
--- a/app/imports/ui/components/global/IconPicker.vue
+++ b/app/imports/ui/components/global/IconPicker.vue
@@ -2,7 +2,6 @@
+
+ add
+
+
+
+
+
+
diff --git a/app/imports/ui/library/LibraryAndNode.vue b/app/imports/ui/library/LibraryAndNode.vue
index 1aee1aab..a972c102 100644
--- a/app/imports/ui/library/LibraryAndNode.vue
+++ b/app/imports/ui/library/LibraryAndNode.vue
@@ -25,6 +25,11 @@
class="mx-3"
style="flex-grow: 0; height: 32px;"
/>
+
import LibraryContentsContainer from '/imports/ui/library/LibraryContentsContainer.vue';
-import { setDocToLastOrder } from '/imports/api/parenting/order.js';
-import LibraryNodes, { insertNode } from '/imports/api/library/LibraryNodes.js';
import Libraries, { insertLibrary } from '/imports/api/library/Libraries.js';
import { getUserTier } from '/imports/api/users/patreon/tiers.js';
import { assertEditPermission } from '/imports/api/sharing/sharingPermissions.js';
-import { getAncestry } from '/imports/api/parenting/parenting.js';
export default {
components: {
@@ -150,34 +147,6 @@ export default {
data: {_id},
});
},
- insertLibraryNode(libraryId){
- if (this.paidBenefits){
- let parentRef;
- if (this.organizeMode && this.selectedNodeId){
- parentRef = {collection: 'libraryNodes', id: this.selectedNodeId}
- } else {
- parentRef = {collection: 'libraries', id: libraryId};
- }
- let {ancestors} = getAncestry({parentRef});
- this.$store.commit('pushDialogStack', {
- component: 'library-node-creation-dialog',
- elementId: `insert-node-${libraryId}`,
- callback(libraryNode){
- if (!libraryNode) return;
- libraryNode.parent = parentRef;
- libraryNode.ancestors = ancestors;
- setDocToLastOrder({collection: LibraryNodes, doc: libraryNode});
- let libraryNodeId = insertNode.call(libraryNode);
- return `tree-node-${libraryNodeId}`;
- }
- });
- } else {
- this.$store.commit('pushDialogStack', {
- component: 'tier-too-low-dialog',
- elementId: `insert-node-${libraryId}`,
- });
- }
- },
},
}