Skip to content

Commit 09d75b6

Browse files
committed
Decode url for documents (cyrillic symbols)
1 parent 2d4d8da commit 09d75b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/TabItem.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const typeOfUrl = computed(() =>
5151
5252
const url = computed(() =>
5353
typeOfUrl.value == TypeOfUrl.Document
54-
? encodeURI(props.item.url.split('///')[1])
54+
? decodeURI(props.item.url.split('///')[1])
5555
: props.item.url,
5656
);
5757

0 commit comments

Comments
 (0)