mirror of
https://github.com/danbulant/Nertivia-Client
synced 2026-07-03 18:10:34 +00:00
cleanup
This commit is contained in:
parent
a1e1c7d261
commit
8834629118
7 changed files with 9 additions and 20 deletions
11
package-lock.json
generated
11
package-lock.json
generated
|
|
@ -2792,8 +2792,7 @@
|
||||||
"version": "4.6.0",
|
"version": "4.6.0",
|
||||||
"resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz",
|
||||||
"integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=",
|
"integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=",
|
||||||
"dev": true,
|
"dev": true
|
||||||
"optional": true
|
|
||||||
},
|
},
|
||||||
"coa": {
|
"coa": {
|
||||||
"version": "2.0.2",
|
"version": "2.0.2",
|
||||||
|
|
@ -6954,7 +6953,6 @@
|
||||||
"resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
|
"resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz",
|
||||||
"integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=",
|
"integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
"requires": {
|
||||||
"prelude-ls": "~1.1.2",
|
"prelude-ls": "~1.1.2",
|
||||||
"type-check": "~0.3.2"
|
"type-check": "~0.3.2"
|
||||||
|
|
@ -9085,8 +9083,7 @@
|
||||||
"version": "1.1.2",
|
"version": "1.1.2",
|
||||||
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
|
"resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz",
|
||||||
"integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
|
"integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=",
|
||||||
"dev": true,
|
"dev": true
|
||||||
"optional": true
|
|
||||||
},
|
},
|
||||||
"prepend-http": {
|
"prepend-http": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
|
|
@ -9805,8 +9802,7 @@
|
||||||
"version": "4.0.8",
|
"version": "4.0.8",
|
||||||
"resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz",
|
"resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz",
|
||||||
"integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=",
|
"integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=",
|
||||||
"dev": true,
|
"dev": true
|
||||||
"optional": true
|
|
||||||
},
|
},
|
||||||
"rx-lite-aggregates": {
|
"rx-lite-aggregates": {
|
||||||
"version": "4.0.8",
|
"version": "4.0.8",
|
||||||
|
|
@ -11359,7 +11355,6 @@
|
||||||
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
|
"resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz",
|
||||||
"integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=",
|
"integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"optional": true,
|
|
||||||
"requires": {
|
"requires": {
|
||||||
"prelude-ls": "~1.1.2"
|
"prelude-ls": "~1.1.2"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -8,12 +8,11 @@
|
||||||
<script>
|
<script>
|
||||||
import config from "@/config.js";
|
import config from "@/config.js";
|
||||||
import { bus } from "@/main";
|
import { bus } from "@/main";
|
||||||
import Spinner from "@/components/Spinner.vue";
|
|
||||||
import ServerService from "@/services/ServerService";
|
import ServerService from "@/services/ServerService";
|
||||||
import { mapState } from "vuex";
|
import { mapState } from "vuex";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {Spinner},
|
components: {},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
confirmed: false
|
confirmed: false
|
||||||
|
|
|
||||||
|
|
@ -42,7 +42,6 @@
|
||||||
<script>
|
<script>
|
||||||
import config from "@/config.js";
|
import config from "@/config.js";
|
||||||
import { bus } from "@/main";
|
import { bus } from "@/main";
|
||||||
import Spinner from "@/components/Spinner.vue";
|
|
||||||
import ProfilePicture from "@/components/ProfilePictureTemplate.vue";
|
import ProfilePicture from "@/components/ProfilePictureTemplate.vue";
|
||||||
import ServerService from "@/services/ServerService";
|
import ServerService from "@/services/ServerService";
|
||||||
import DropDown from "./DropDownMenu";
|
import DropDown from "./DropDownMenu";
|
||||||
|
|
@ -50,7 +49,7 @@ import { mapState } from "vuex";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: { Spinner, DropDown, ProfilePicture },
|
components: { DropDown, ProfilePicture },
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
requestSent: false,
|
requestSent: false,
|
||||||
|
|
@ -106,8 +105,8 @@ export default {
|
||||||
_this.$set(_this.update, 'avatar', reader.result);
|
_this.$set(_this.update, 'avatar', reader.result);
|
||||||
};
|
};
|
||||||
reader.onerror = function (error) {
|
reader.onerror = function (error) {
|
||||||
return this.$store.dispatch('setGenericMessage', "Something went wrong. Try again later.")
|
|
||||||
console.log('Error: ', error);
|
console.log('Error: ', error);
|
||||||
|
return this.$store.dispatch('setGenericMessage', "Something went wrong. Try again later.")
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -19,12 +19,11 @@
|
||||||
<script>
|
<script>
|
||||||
import config from "@/config.js";
|
import config from "@/config.js";
|
||||||
import { bus } from "@/main";
|
import { bus } from "@/main";
|
||||||
import Spinner from "@/components/Spinner.vue";
|
|
||||||
import ServerService from "@/services/ServerService";
|
import ServerService from "@/services/ServerService";
|
||||||
import { mapState } from "vuex";
|
import { mapState } from "vuex";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {Spinner},
|
components: {},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
deleteButtonConfirmed: false,
|
deleteButtonConfirmed: false,
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@
|
||||||
<script>
|
<script>
|
||||||
import config from "@/config.js";
|
import config from "@/config.js";
|
||||||
import { bus } from "@/main";
|
import { bus } from "@/main";
|
||||||
import Spinner from "@/components/Spinner.vue";
|
|
||||||
import ServerService from "@/services/ServerService";
|
import ServerService from "@/services/ServerService";
|
||||||
import { mapState } from "vuex";
|
import { mapState } from "vuex";
|
||||||
|
|
||||||
|
|
@ -27,7 +26,7 @@ import DeleteServer from './DeleteServer.vue'
|
||||||
import ManageChannels from './ManageChannels.vue'
|
import ManageChannels from './ManageChannels.vue'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {Spinner, General, DeleteServer, ManageChannels},
|
components: { General, DeleteServer, ManageChannels},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
index: 0,
|
index: 0,
|
||||||
|
|
|
||||||
|
|
@ -91,8 +91,8 @@ export default {
|
||||||
_this.$set(_this.update, 'avatar', reader.result);
|
_this.$set(_this.update, 'avatar', reader.result);
|
||||||
};
|
};
|
||||||
reader.onerror = function (error) {
|
reader.onerror = function (error) {
|
||||||
return this.$store.dispatch('setGenericMessage', "Something went wrong. Try again later.")
|
|
||||||
console.log('Error: ', error);
|
console.log('Error: ', error);
|
||||||
|
return this.$store.dispatch('setGenericMessage', "Something went wrong. Try again later.")
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
async updateProfile() {
|
async updateProfile() {
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import ProfilePicture from "@/components/ProfilePictureTemplate.vue";
|
|
||||||
const Survey = () => import("./survey.vue");
|
const Survey = () => import("./survey.vue");
|
||||||
const EditProfile = () => import("./EditProfile.vue");
|
const EditProfile = () => import("./EditProfile.vue");
|
||||||
|
|
||||||
|
|
@ -46,7 +45,6 @@ import { mapState } from "vuex";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
ProfilePicture,
|
|
||||||
Survey,
|
Survey,
|
||||||
EditProfile
|
EditProfile
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue