mirror of
https://github.com/nextcloud/server.git
synced 2026-06-06 15:23:17 -04:00
fix(files): ensure forbiddenCharacters is an array
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
This commit is contained in:
parent
12a672fbfa
commit
c72dd3cb95
2 changed files with 2 additions and 2 deletions
|
|
@ -71,7 +71,7 @@ import { useNavigation } from '../../composables/useNavigation'
|
|||
import { useRenamingStore } from '../../store/renaming.ts'
|
||||
import logger from '../../logger.js'
|
||||
|
||||
const forbiddenCharacters = loadState('files', 'forbiddenCharacters', '') as string
|
||||
const forbiddenCharacters = loadState<string>('files', 'forbiddenCharacters', '').split('')
|
||||
|
||||
export default Vue.extend({
|
||||
name: 'FileEntryName',
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ interface ICanFocus {
|
|||
focus: () => void
|
||||
}
|
||||
|
||||
const forbiddenCharacters = loadState<string[]>('files', 'forbiddenCharacters', [])
|
||||
const forbiddenCharacters = loadState<string>('files', 'forbiddenCharacters', '').split('')
|
||||
|
||||
export default defineComponent({
|
||||
name: 'NewNodeDialog',
|
||||
|
|
|
|||
Loading…
Reference in a new issue