@@ -73,6 +73,11 @@
this.$emit('close');
},
+ openNewFileModal: function () {
+ window.events.$emit('server:files:open-new-file-modal');
+ this.$emit('close');
+ },
+
triggerAction: function (action: string) {
this.$emit(`action:${action}`);
}
diff --git a/resources/assets/scripts/components/server/components/filemanager/modals/NewFileModal.vue b/resources/assets/scripts/components/server/components/filemanager/modals/NewFileModal.vue
new file mode 100644
index 000000000..2ca754e22
--- /dev/null
+++ b/resources/assets/scripts/components/server/components/filemanager/modals/NewFileModal.vue
@@ -0,0 +1,43 @@
+
+
+
+
+
+
+
diff --git a/resources/assets/scripts/components/server/subpages/FileManager.vue b/resources/assets/scripts/components/server/subpages/FileManager.vue
index 42c2e7972..4d17bc383 100644
--- a/resources/assets/scripts/components/server/subpages/FileManager.vue
+++ b/resources/assets/scripts/components/server/subpages/FileManager.vue
@@ -48,10 +48,11 @@
New Folder