Skip to content

Commit

Permalink
Merge pull request #1167 from nextcloud-libraries/fix/node-path
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv committed Jan 11, 2024
2 parents c0f80c5 + 7e6dc67 commit b051f3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/components/FilePicker/FileList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ import { FileType, type Node } from '@nextcloud/files'
import { getCanonicalLocale } from '@nextcloud/l10n'
import { NcButton, NcCheckboxRadioSwitch } from '@nextcloud/vue'
import { join } from 'path'
import { t } from '../../utils/l10n'
import { computed, nextTick, onMounted, onUnmounted, ref, type Ref } from 'vue'
Expand Down Expand Up @@ -184,7 +183,7 @@ function onNodeSelected(file: Node) {
}
function onChangeDirectory(dir: Node) {
emit('update:path', join(props.path, dir.basename))
emit('update:path', dir.path)
}
/**
Expand Down

0 comments on commit b051f3c

Please sign in to comment.