فهرست منبع

Merge pull request #45131 from nextcloud/chore/location-path-prefix

chore: Remove All files prefix from original location
Pytal 1 ماه پیش
والد
کامیت
1098abd399
3فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      apps/files_trashbin/src/columns.ts
  2. 0 0
      dist/files_trashbin-main.js
  3. 0 0
      dist/files_trashbin-main.js.map

+ 2 - 2
apps/files_trashbin/src/columns.ts

@@ -23,7 +23,7 @@
 import moment from '@nextcloud/moment'
 import { Column, Node } from '@nextcloud/files'
 import { getCurrentUser } from '@nextcloud/auth'
-import { dirname, joinPaths } from '@nextcloud/paths'
+import { dirname } from '@nextcloud/paths'
 import { translate as t } from '@nextcloud/l10n'
 
 import Vue from 'vue'
@@ -38,7 +38,7 @@ const parseOriginalLocation = (node: Node): string => {
 	if (dir === path) { // Node is in root folder
 		return t('files_trashbin', 'All files')
 	}
-	return joinPaths(t('files_trashbin', 'All files'), dir)
+	return dir.replace(/^\//, '')
 }
 
 interface DeletedBy {

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/files_trashbin-main.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/files_trashbin-main.js.map


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است