mirror of
https://github.com/nextcloud/server.git
synced 2026-02-20 00:12:30 -05:00
chore: Remove All files prefix from original location
Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
parent
c24f460a8b
commit
266c584d16
1 changed files with 2 additions and 2 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue