-
{{this.$props.username}}
- {{getDate}}
+
+
+
+
+
-
-
-
-
- insert_drive_file
+
@@ -53,18 +70,19 @@ export default {
"date",
"uniqueID",
"files",
- "admin"
+ "admin",
+ "type"
],
methods: {
openUserInformation() {
- this.$store.dispatch('setUserInformationPopout', this.uniqueID)
+ this.$store.dispatch("setUserInformationPopout", this.uniqueID);
},
imageClicked(event) {
this.$store.dispatch("setImagePreviewURL", event.target.src);
}
},
computed: {
- ...mapState('settingsModule', ['apperance']),
+ ...mapState("settingsModule", ["apperance"]),
getImage() {
if (!this.$props.files || this.$props.files.length === 0)
return undefined;
@@ -118,7 +136,27 @@ export default {
+
+
diff --git a/src/views/LoginPage.vue b/src/views/LoginPage.vue
index 92b63c5..fe40231 100644
--- a/src/views/LoginPage.vue
+++ b/src/views/LoginPage.vue
@@ -117,6 +117,10 @@ export default {
this.visible = false;
this.$store.dispatch("token", result.data.token);
setTimeout(_ => {
+ const {to, id} = this.$route.query;
+ if (to) {
+ return window.location.href = `/${to}/${id}`
+ }
window.location.href = "/app";
}, 1000);
} else {
+
+
+
- {{this.$props.username}}
+ {{getDate}}
-
-
- {{getFile.fileName}}
-
- Download
-
+
+
+
+
+
+
+ insert_drive_file
+
+
+
+ {{getFile.fileName}}
+
+ Download
+
+
+
-
-
+
+
+
+ {{this.$props.username}}
+ has joined the server!
+ has left the server.
+ {{getDate}}
+
-