upload request prototype UI

This commit is contained in:
Čarodej
2022-02-16 16:57:57 +01:00
parent 3fafc811fe
commit 394a7b6baf
197 changed files with 6927 additions and 2738 deletions

View File

@@ -83,7 +83,7 @@ export default {
})
.then((response) => {
// Show file browser
if ( response.data.data.attributes.type === 'folder' ) {
if (response.data.data.attributes.type === 'folder') {
this.$router.replace({
name: 'Public',
params: {
@@ -94,7 +94,7 @@ export default {
}
// Show single file
if ( response.data.data.attributes.type !== 'folder' ) {
if (response.data.data.attributes.type !== 'folder') {
this.$router.push({ name: 'SharedSingleFile' })
}
})