From 55a3d2b1d312af449237b1eed55b1b7f48b937b1 Mon Sep 17 00:00:00 2001
From: Thomas Citharel
Date: Mon, 14 Jun 2021 15:40:30 +0200
Subject: [PATCH] Add pagination to resource mover modal as well
Signed-off-by: Thomas Citharel
---
.../components/Resource/ResourceSelector.vue | 51 +++++++++++++++----
1 file changed, 40 insertions(+), 11 deletions(-)
diff --git a/js/src/components/Resource/ResourceSelector.vue b/js/src/components/Resource/ResourceSelector.vue
index 818a90f1..e1aa4acd 100644
--- a/js/src/components/Resource/ResourceSelector.vue
+++ b/js/src/components/Resource/ResourceSelector.vue
@@ -58,18 +58,34 @@
>
{{ $t("No resources in this folder") }}
+
- {{
- $t("Move resource to {folder}", { folder: resource.title })
- }}
- {{
- $t("Cancel")
- }}
+
+ {{
+ $t("Cancel")
+ }}
+
+ {{ $t("Move resource to the root folder") }}
+
+ {{ $t("Move resource to {folder}", { folder: resource.title }) }}
+
+