Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-10-28 11:54:10 +0300
committerJoas Schilling <coding@schilljs.com>2019-10-28 11:54:10 +0300
commit0619bac6fd272b351cfd6bb525444bb971a36b85 (patch)
tree3005ad2d582470872a564934571d10455fb85224 /src
parent9e98491d07d998a657501e7b79fbb027538ea778 (diff)
Auto fix linting issues
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src')
-rw-r--r--src/AllowedGroupsSettings.js2
-rw-r--r--src/App.vue10
-rw-r--r--src/CommandsSettings.js2
-rw-r--r--src/GeneralSettings.js2
-rw-r--r--src/SignalingServerSettings.js2
-rw-r--r--src/StunServerSettings.js2
-rw-r--r--src/TurnServerSettings.js2
-rw-r--r--src/collections.js4
-rw-r--r--src/collectionsintegration.js6
-rw-r--r--src/components/AdminSettings/Command.vue20
-rw-r--r--src/components/AdminSettings/SignalingServer.vue16
-rw-r--r--src/components/AdminSettings/StunServer.vue16
-rw-r--r--src/components/AdminSettings/TurnServer.vue58
-rw-r--r--src/components/ConversationIcon.vue12
-rw-r--r--src/components/MessagesList/MessagesGroup/Message/Message.vue32
-rw-r--r--src/components/MessagesList/MessagesGroup/Message/Quote/Quote.vue18
-rw-r--r--src/components/MessagesList/MessagesGroup/MessagesGroup.vue14
-rw-r--r--src/components/MessagesList/MessagesList.vue20
-rw-r--r--src/components/Navigation/AppNavigationSearch/AppNavigationSearch.vue16
-rw-r--r--src/components/Navigation/Caption/Caption.vue6
-rw-r--r--src/components/Navigation/ContactsList/ContactsList.vue12
-rw-r--r--src/components/Navigation/ConversationsList/AppContentListItem/AppContentListItem.vue24
-rw-r--r--src/components/Navigation/ConversationsList/Conversation.vue14
-rw-r--r--src/components/Navigation/ConversationsList/ConversationsList.vue12
-rw-r--r--src/components/Navigation/GroupsList/GroupsList.vue16
-rw-r--r--src/components/Navigation/Hint/Hint.vue6
-rw-r--r--src/components/Navigation/Navigation.vue10
-rw-r--r--src/components/NewConversationForm/NewConversationForm.vue4
-rw-r--r--src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue16
-rw-r--r--src/components/NewMessageForm/NewMessageForm.vue12
-rw-r--r--src/constants.js20
-rw-r--r--src/main.js2
-rw-r--r--src/router/router.js8
-rw-r--r--src/services/messagesService.js2
-rw-r--r--src/services/participantsService.js2
-rw-r--r--src/store/conversationsStore.js10
-rw-r--r--src/store/index.js4
-rw-r--r--src/store/messagesStore.js8
-rw-r--r--src/store/quoteReplyStore.js8
-rw-r--r--src/views/AdminSettings/AllowedGroups.vue10
-rw-r--r--src/views/AdminSettings/Commands.vue10
-rw-r--r--src/views/AdminSettings/GeneralSettings.vue18
-rw-r--r--src/views/AdminSettings/SignalingServers.vue18
-rw-r--r--src/views/AdminSettings/StunServers.vue14
-rw-r--r--src/views/AdminSettings/TurnServers.vue18
-rw-r--r--src/views/ChatView.vue8
-rw-r--r--src/views/CollaborationView.vue6
-rw-r--r--src/views/RoomSelector.vue12
-rw-r--r--src/views/WelcomeView.vue2
49 files changed, 283 insertions, 283 deletions
diff --git a/src/AllowedGroupsSettings.js b/src/AllowedGroupsSettings.js
index 92a4f80b1..7ac652810 100644
--- a/src/AllowedGroupsSettings.js
+++ b/src/AllowedGroupsSettings.js
@@ -32,5 +32,5 @@ Vue.prototype.OCP = OCP
export default new Vue({
el: '#allowed_groups',
name: 'AllowedGroupsSettings',
- render: h => h(AllowedGroups)
+ render: h => h(AllowedGroups),
})
diff --git a/src/App.vue b/src/App.vue
index 6793ebac1..dcd8620fd 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -67,7 +67,7 @@ export default {
AppContent,
AppSidebar,
AppSidebarTab,
- Navigation
+ Navigation,
},
data: function() {
return {
@@ -77,7 +77,7 @@ export default {
date2: Date.now() + 86400000 * 3 + Math.floor(Math.random() * 86400000 / 2),
show: false,
starred: false,
- windowHeight: 0
+ windowHeight: 0,
}
},
@@ -91,7 +91,7 @@ export default {
*/
token() {
return this.$route.params.token
- }
+ },
},
beforeMount() {
@@ -162,8 +162,8 @@ export default {
}
return this.$store.getters.conversations[token].displayName
- }
- }
+ },
+ },
}
</script>
diff --git a/src/CommandsSettings.js b/src/CommandsSettings.js
index 3d380660a..4ed1a1a0c 100644
--- a/src/CommandsSettings.js
+++ b/src/CommandsSettings.js
@@ -32,5 +32,5 @@ Vue.prototype.OCP = OCP
export default new Vue({
el: '#chat_commands',
name: 'CommandsSettings',
- render: h => h(Commands)
+ render: h => h(Commands),
})
diff --git a/src/GeneralSettings.js b/src/GeneralSettings.js
index d54f90bff..c9e4373ad 100644
--- a/src/GeneralSettings.js
+++ b/src/GeneralSettings.js
@@ -32,5 +32,5 @@ Vue.prototype.OCP = OCP
export default new Vue({
el: '#general_settings',
name: 'GeneralSettings',
- render: h => h(GeneralSettings)
+ render: h => h(GeneralSettings),
})
diff --git a/src/SignalingServerSettings.js b/src/SignalingServerSettings.js
index 172d0754f..ade20d3db 100644
--- a/src/SignalingServerSettings.js
+++ b/src/SignalingServerSettings.js
@@ -32,5 +32,5 @@ Vue.prototype.OCP = OCP
export default new Vue({
el: '#signaling_server',
name: 'SignalingServerSettings',
- render: h => h(SignalingServers)
+ render: h => h(SignalingServers),
})
diff --git a/src/StunServerSettings.js b/src/StunServerSettings.js
index d654c7d0c..e99a057b1 100644
--- a/src/StunServerSettings.js
+++ b/src/StunServerSettings.js
@@ -32,5 +32,5 @@ Vue.prototype.OCP = OCP
export default new Vue({
el: '#stun_server',
name: 'StunServerSettings',
- render: h => h(StunServers)
+ render: h => h(StunServers),
})
diff --git a/src/TurnServerSettings.js b/src/TurnServerSettings.js
index 91642bc45..a2c59e3d9 100644
--- a/src/TurnServerSettings.js
+++ b/src/TurnServerSettings.js
@@ -32,5 +32,5 @@ Vue.prototype.OCP = OCP
export default new Vue({
el: '#turn_server',
name: 'TurnServerSettings',
- render: h => h(TurnServers)
+ render: h => h(TurnServers),
})
diff --git a/src/collections.js b/src/collections.js
index bf8db7641..3dd9eb811 100644
--- a/src/collections.js
+++ b/src/collections.js
@@ -43,7 +43,7 @@ import RoomSelector from './views/RoomSelector'
const body = document.getElementById('body-user')
body.append(container)
const ComponentVM = new Vue({
- render: h => h(RoomSelector)
+ render: h => h(RoomSelector),
})
ComponentVM.$mount(container)
ComponentVM.$root.$on('close', () => {
@@ -59,6 +59,6 @@ import RoomSelector from './views/RoomSelector'
})
},
typeString: t('spreed', 'Link to a conversation'),
- typeIconClass: 'icon-talk'
+ typeIconClass: 'icon-talk',
})
})(window.OCP, window.OC)
diff --git a/src/collectionsintegration.js b/src/collectionsintegration.js
index 1fe90f25d..98fd90ba6 100644
--- a/src/collectionsintegration.js
+++ b/src/collectionsintegration.js
@@ -43,9 +43,9 @@ import CollaborationView from './views/CollaborationView'
init(MountingPoint, roomModel) {
this.ComponentVM = new Vue({
data: {
- model: roomModel.toJSON()
+ model: roomModel.toJSON(),
},
- render: h => h(CollaborationView)
+ render: h => h(CollaborationView),
})
if (MountingPoint) {
@@ -56,7 +56,7 @@ import CollaborationView from './views/CollaborationView'
if (this.ComponentVM) {
this.ComponentVM.model = roomModel.toJSON()
}
- }
+ },
}
diff --git a/src/components/AdminSettings/Command.vue b/src/components/AdminSettings/Command.vue
index 65dee47d2..46fb70aa1 100644
--- a/src/components/AdminSettings/Command.vue
+++ b/src/components/AdminSettings/Command.vue
@@ -46,34 +46,34 @@ import { Fragment } from 'vue-fragment'
export default {
name: 'Command',
components: {
- Fragment
+ Fragment,
},
props: {
id: {
type: Number,
- default: 0
+ default: 0,
},
name: {
type: String,
- default: ''
+ default: '',
},
command: {
type: String,
- default: ''
+ default: '',
},
script: {
type: String,
- default: ''
+ default: '',
},
response: {
type: Number,
- default: 0
+ default: 0,
},
enabled: {
type: Number,
- default: 0
- }
+ default: 0,
+ },
},
computed: {
@@ -98,7 +98,7 @@ export default {
default:
return t('spreed', 'Everyone')
}
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/AdminSettings/SignalingServer.vue b/src/components/AdminSettings/SignalingServer.vue
index be636c470..9d58cb8b6 100644
--- a/src/components/AdminSettings/SignalingServer.vue
+++ b/src/components/AdminSettings/SignalingServer.vue
@@ -52,29 +52,29 @@ export default {
name: 'SignalingServer',
directives: {
- tooltip: Tooltip
+ tooltip: Tooltip,
},
props: {
server: {
type: String,
default: '',
- required: true
+ required: true,
},
verify: {
type: Boolean,
default: false,
- required: true
+ required: true,
},
index: {
type: Number,
default: -1,
- required: true
+ required: true,
},
loading: {
type: Boolean,
- default: false
- }
+ default: false,
+ },
},
methods: {
@@ -86,8 +86,8 @@ export default {
},
updateVerify(event) {
this.$emit('update:verify', event.target.checked)
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/AdminSettings/StunServer.vue b/src/components/AdminSettings/StunServer.vue
index 1842e3c58..555b01e97 100644
--- a/src/components/AdminSettings/StunServer.vue
+++ b/src/components/AdminSettings/StunServer.vue
@@ -45,24 +45,24 @@ export default {
name: 'StunServer',
directives: {
- tooltip: Tooltip
+ tooltip: Tooltip,
},
props: {
server: {
type: String,
default: '',
- required: true
+ required: true,
},
index: {
type: Number,
default: -1,
- required: true
+ required: true,
},
loading: {
type: Boolean,
- default: false
- }
+ default: false,
+ },
},
computed: {
@@ -81,7 +81,7 @@ export default {
return parts.length === 2
&& parts[1].match(/^([1-9]\d{0,4})$/) !== null
&& parseInt(parts[1]) <= Math.pow(2, 16)
- }
+ },
},
methods: {
@@ -90,8 +90,8 @@ export default {
},
update(event) {
this.$emit('update:server', event.target.value)
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/AdminSettings/TurnServer.vue b/src/components/AdminSettings/TurnServer.vue
index d08e4af8a..619e493d6 100644
--- a/src/components/AdminSettings/TurnServer.vue
+++ b/src/components/AdminSettings/TurnServer.vue
@@ -77,50 +77,50 @@ export default {
name: 'TurnServer',
directives: {
- tooltip: Tooltip
+ tooltip: Tooltip,
},
props: {
server: {
type: String,
default: '',
- required: true
+ required: true,
},
secret: {
type: String,
default: '',
- required: true
+ required: true,
},
protocols: {
type: String,
default: '',
- required: true
+ required: true,
},
index: {
type: Number,
default: -1,
- required: true
+ required: true,
},
loading: {
type: Boolean,
- default: false
- }
+ default: false,
+ },
},
data: () => {
return {
testing: {
type: Boolean,
- default: false
+ default: false,
},
testingError: {
type: Boolean,
- default: false
+ default: false,
},
testingSuccess: {
type: Boolean,
- default: false
- }
+ default: false,
+ },
}
},
@@ -140,7 +140,7 @@ export default {
this.testingError = false
this.testingSuccess = false
- var protocols = this.protocols.split(',')
+ const protocols = this.protocols.split(',')
if (!this.server || !this.secret || !protocols.length) {
return
}
@@ -151,31 +151,31 @@ export default {
urls.push('turn:' + this.server + '?transport=' + protocols[i])
}
- var expires = Math.round((new Date()).getTime() / 1000) + (5 * 60)
- var username = expires + ':turn-test-user'
- var password = Base64.stringify(hmacSHA1(username, this.secret))
+ const expires = Math.round((new Date()).getTime() / 1000) + (5 * 60)
+ const username = expires + ':turn-test-user'
+ const password = Base64.stringify(hmacSHA1(username, this.secret))
- var iceServer = {
+ const iceServer = {
username: username,
credential: password,
- urls: urls
+ urls: urls,
}
// Create a PeerConnection with no streams, but force a m=audio line.
- var config = {
+ const config = {
iceServers: [
- iceServer
+ iceServer,
],
- iceTransportPolicy: 'relay'
+ iceTransportPolicy: 'relay',
}
- var offerOptions = {
- offerToReceiveAudio: 1
+ const offerOptions = {
+ offerToReceiveAudio: 1,
}
console.info('Creating PeerConnection with', config)
- var candidates = []
+ const candidates = []
- var pc = new RTCPeerConnection(config)
- var timeout = setTimeout(function() {
+ const pc = new RTCPeerConnection(config)
+ const timeout = setTimeout(function() {
this.notifyTurnResult(candidates, timeout)
pc.close()
}.bind(this), 10000)
@@ -207,7 +207,7 @@ export default {
notifyTurnResult(candidates, timeout) {
console.info('Received candidates', candidates)
- var types = candidates.map((cand) => cand.type)
+ const types = candidates.map((cand) => cand.type)
this.testing = false
if (types.indexOf('relay') === -1) {
@@ -237,7 +237,7 @@ export default {
protocol: parts[2],
address: parts[4],
port: parts[5],
- priority: parts[3]
+ priority: parts[3],
}
},
@@ -264,8 +264,8 @@ export default {
updateProtocols(event) {
this.$emit('update:protocols', event.target.value)
this.debounceTestServer()
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/ConversationIcon.vue b/src/components/ConversationIcon.vue
index 4a6e644cc..c8e619ff6 100644
--- a/src/components/ConversationIcon.vue
+++ b/src/components/ConversationIcon.vue
@@ -36,7 +36,7 @@ import { CONVERSATION } from '../constants'
export default {
name: 'ConversationIcon',
components: {
- Avatar
+ Avatar,
},
props: {
item: {
@@ -45,10 +45,10 @@ export default {
return {
objectType: '',
type: 0,
- displayName: ''
+ displayName: '',
}
- }
- }
+ },
+ },
},
computed: {
itemClass() {
@@ -65,8 +65,8 @@ export default {
}
return ''
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/MessagesList/MessagesGroup/Message/Message.vue b/src/components/MessagesList/MessagesGroup/Message/Message.vue
index ecdbd7fb0..e6aa1ecbd 100644
--- a/src/components/MessagesList/MessagesGroup/Message/Message.vue
+++ b/src/components/MessagesList/MessagesGroup/Message/Message.vue
@@ -71,7 +71,7 @@ export default {
components: {
Actions,
ActionButton,
- Quote
+ Quote,
},
props: {
/**
@@ -79,35 +79,35 @@ export default {
*/
actorDisplayName: {
type: String,
- required: true
+ required: true,
},
/**
* The message or quote text.
*/
message: {
type: String,
- required: true
+ required: true,
},
/**
* The message timestamp.
*/
timestamp: {
type: Number,
- default: 0
+ default: 0,
},
/**
* The message id.
*/
id: {
type: Number,
- required: true
+ required: true,
},
/**
* If true, it displays the message author on top of the message.
*/
showAuthor: {
type: Boolean,
- default: true
+ default: true,
},
/**
* Specifies if the message is temporary in order to display the spinner instead
@@ -115,33 +115,33 @@ export default {
*/
isTemporary: {
type: Boolean,
- required: true
+ required: true,
},
/**
* Specifies if the message is the first of a group of same-author messages.
*/
isFirstMessage: {
type: Boolean,
- required: true
+ required: true,
},
/**
* The conversation token.
*/
token: {
type: String,
- required: true
+ required: true,
},
/**
* The parent message's id.
*/
parent: {
type: Number,
- default: 0
- }
+ default: 0,
+ },
},
data() {
return {
- showActions: false
+ showActions: false,
}
},
computed: {
@@ -150,7 +150,7 @@ export default {
},
quote() {
return this.parent && this.$store.getters.message(this.token, this.parent)
- }
+ },
},
methods: {
handleReply() {
@@ -158,14 +158,14 @@ export default {
id: this.id,
actorDisplayName: this.actorDisplayName,
message: this.message,
- token: this.token
+ token: this.token,
}
this.$store.dispatch('addMessageToBeReplied', Object.assign({}, MESSAGE_TO_BE_REPLIED))
},
handleDelete() {
this.$store.dispatch('deleteMessage', this.message)
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/MessagesList/MessagesGroup/Message/Quote/Quote.vue b/src/components/MessagesList/MessagesGroup/Message/Quote/Quote.vue
index 14702f907..0af499202 100644
--- a/src/components/MessagesList/MessagesGroup/Message/Quote/Quote.vue
+++ b/src/components/MessagesList/MessagesGroup/Message/Quote/Quote.vue
@@ -53,7 +53,7 @@ export default {
name: 'Quote',
components: {
Actions,
- ActionButton
+ ActionButton,
},
props: {
/**
@@ -61,28 +61,28 @@ export default {
*/
actorDisplayName: {
type: String,
- required: true
+ required: true,
},
/**
* The text of the message to be replied to.
*/
message: {
type: String,
- required: true
+ required: true,
},
/**
* The message id of the message to be replied to.
*/
id: {
type: Number,
- required: true
+ required: true,
},
/**
* The conversation token of the message to be replied to.
*/
token: {
type: String,
- required: true
+ required: true,
},
/**
* If the quote component is used in the `NewMessageForm` component we display
@@ -90,8 +90,8 @@ export default {
*/
isNewMessageFormQuote: {
type: Boolean,
- default: false
- }
+ default: false,
+ },
},
methods: {
/**
@@ -100,8 +100,8 @@ export default {
*/
handleAbortReply() {
this.$store.dispatch('removeMessageToBeReplied', this.token)
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/MessagesList/MessagesGroup/MessagesGroup.vue b/src/components/MessagesList/MessagesGroup/MessagesGroup.vue
index 7a12cebaa..a841751cd 100644
--- a/src/components/MessagesList/MessagesGroup/MessagesGroup.vue
+++ b/src/components/MessagesList/MessagesGroup/MessagesGroup.vue
@@ -49,7 +49,7 @@ export default {
name: 'MessagesGroup',
components: {
Avatar,
- Message
+ Message,
},
props: {
/**
@@ -57,22 +57,22 @@ export default {
*/
id: {
type: Number,
- required: true
+ required: true,
},
/**
* The conversation token.
*/
token: {
type: String,
- required: true
+ required: true,
},
/**
* The messages object.
*/
messages: {
type: Array,
- required: true
- }
+ required: true,
+ },
},
computed: {
@@ -89,8 +89,8 @@ export default {
*/
isSystemMessage() {
return this.messages[0].systemMessage.length !== 0
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/MessagesList/MessagesList.vue b/src/components/MessagesList/MessagesList.vue
index 4c743c676..3766b05ba 100644
--- a/src/components/MessagesList/MessagesList.vue
+++ b/src/components/MessagesList/MessagesList.vue
@@ -53,7 +53,7 @@ export default {
name: 'MessagesList',
components: {
MessagesGroup,
- virtualList
+ virtualList,
},
props: {
@@ -62,8 +62,8 @@ export default {
*/
token: {
type: String,
- required: true
- }
+ required: true,
+ },
},
data: function() {
@@ -72,7 +72,7 @@ export default {
* Keeps track of the state of the component in order to trigger the scroll to
* bottom.
*/
- isInitiated: false
+ isInitiated: false,
}
},
@@ -101,9 +101,9 @@ export default {
* @returns {array}
*/
messagesGroupedByAuthor() {
- let groups = []
+ const groups = []
let lastMessage = null
- for (let message of this.messagesList) {
+ for (const message of this.messagesList) {
if (!this.messagesShouldBeGrouped(message, lastMessage)) {
groups.push([message])
lastMessage = message
@@ -112,13 +112,13 @@ export default {
}
}
return groups
- }
+ },
},
watch: {
token: function() {
this.onTokenChange()
- }
+ },
},
/**
@@ -214,9 +214,9 @@ export default {
this.$nextTick(function() {
document.querySelector('.scroller').scrollTop = document.querySelector('.scroller').scrollHeight
})
- }
+ },
- }
+ },
}
</script>
diff --git a/src/components/Navigation/AppNavigationSearch/AppNavigationSearch.vue b/src/components/Navigation/AppNavigationSearch/AppNavigationSearch.vue
index 7791d09e4..f29161d99 100644
--- a/src/components/Navigation/AppNavigationSearch/AppNavigationSearch.vue
+++ b/src/components/Navigation/AppNavigationSearch/AppNavigationSearch.vue
@@ -42,14 +42,14 @@ export default {
*/
autoFocused: {
type: Boolean,
- default: true
+ default: true,
},
/**
* The placeholder for the input field
*/
placeholderText: {
type: String,
- default: t('spreed', 'Search conversations or contacts')
+ default: t('spreed', 'Search conversations or contacts'),
},
/**
* The value of the input field, when receiving it as a prop the localValue
@@ -57,12 +57,12 @@ export default {
*/
value: {
type: String,
- required: true
- }
+ required: true,
+ },
},
data: function() {
return {
- localValue: ''
+ localValue: '',
}
},
watch: {
@@ -72,7 +72,7 @@ export default {
},
value(value) {
this.localValue = value
- }
+ },
},
methods: {
/**
@@ -81,8 +81,8 @@ export default {
*/
handleSubmit() {
this.$emit('submit')
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/Navigation/Caption/Caption.vue b/src/components/Navigation/Caption/Caption.vue
index 795690b9a..765903646 100644
--- a/src/components/Navigation/Caption/Caption.vue
+++ b/src/components/Navigation/Caption/Caption.vue
@@ -31,9 +31,9 @@ export default {
props: {
title: {
type: String,
- required: true
- }
- }
+ required: true,
+ },
+ },
}
</script>
diff --git a/src/components/Navigation/ContactsList/ContactsList.vue b/src/components/Navigation/ContactsList/ContactsList.vue
index 3dba3f264..285e125ad 100644
--- a/src/components/Navigation/ContactsList/ContactsList.vue
+++ b/src/components/Navigation/ContactsList/ContactsList.vue
@@ -44,17 +44,17 @@ export default {
name: 'ContactsList',
components: {
Avatar,
- AppContentListItem
+ AppContentListItem,
},
props: {
contacts: {
type: Array,
- required: true
+ required: true,
},
isLoading: {
type: Boolean,
- default: false
- }
+ default: false,
+ },
},
methods: {
/**
@@ -68,8 +68,8 @@ export default {
this.$store.dispatch('addConversation', conversation)
this.$router.push({ name: 'conversation', params: { token: conversation.token } }).catch(err => console.debug(`Error while pushing the new conversation's route: ${err}`))
console.debug(response)
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/Navigation/ConversationsList/AppContentListItem/AppContentListItem.vue b/src/components/Navigation/ConversationsList/AppContentListItem/AppContentListItem.vue
index db413409a..a48f0206b 100644
--- a/src/components/Navigation/ConversationsList/AppContentListItem/AppContentListItem.vue
+++ b/src/components/Navigation/ConversationsList/AppContentListItem/AppContentListItem.vue
@@ -66,23 +66,23 @@ export default {
name: 'AppContentListItem',
components: {
- Actions
+ Actions,
},
- props: {
+ props: {
/**
* The details text displayed in the upper right part
*/
details: {
type: String,
- default: ''
+ default: '',
},
/**
* Title
*/
title: {
type: String,
- required: true
+ required: true,
},
/**
* Pass in `true` if you want the matching behaviour to
@@ -90,15 +90,15 @@ export default {
*/
exact: {
type: Boolean,
- default: false
+ default: false,
},
/**
* The route for for the router link.
*/
to: {
type: [String, Object],
- default: ''
- }
+ default: '',
+ },
},
computed: {
hasDetails() {
@@ -115,21 +115,21 @@ export default {
is: 'router-link',
tag: 'li',
to: this.to,
- exact: this.exactRoute
+ exact: this.exactRoute,
}
}
return {
- is: 'li'
+ is: 'li',
}
- }
+ },
},
methods: {
// forward click event
onClick(event) {
this.$emit('click', event)
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/Navigation/ConversationsList/Conversation.vue b/src/components/Navigation/ConversationsList/Conversation.vue
index a1f614b03..72414e8ab 100644
--- a/src/components/Navigation/ConversationsList/Conversation.vue
+++ b/src/components/Navigation/ConversationsList/Conversation.vue
@@ -111,7 +111,7 @@ export default {
ActionText,
AppContentListItem,
AppNavigationCounter,
- ConversationIcon
+ ConversationIcon,
},
props: {
item: {
@@ -126,10 +126,10 @@ export default {
type: 0,
displayName: '',
isFavorite: false,
- notificationLevel: 0
+ notificationLevel: 0,
}
- }
- }
+ },
+ },
},
computed: {
conversationName() {
@@ -177,7 +177,7 @@ export default {
})
return subtitle
- }
+ },
},
methods: {
async copyLinkToConversation() {
@@ -231,8 +231,8 @@ export default {
async setNotificationLevel(level) {
await setNotificationLevel(this.item.token, level)
this.item.notificationLevel = level
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/Navigation/ConversationsList/ConversationsList.vue b/src/components/Navigation/ConversationsList/ConversationsList.vue
index 0a83a5602..6dc4030b7 100644
--- a/src/components/Navigation/ConversationsList/ConversationsList.vue
+++ b/src/components/Navigation/ConversationsList/ConversationsList.vue
@@ -36,13 +36,13 @@ import { EventBus } from '../../../services/EventBus'
export default {
name: 'ConversationsList',
components: {
- Conversation
+ Conversation,
},
props: {
searchText: {
type: String,
- default: ''
- }
+ default: '',
+ },
},
computed: {
conversationsList() {
@@ -53,7 +53,7 @@ export default {
}
return conversations.sort(this.sortConversations)
- }
+ },
},
beforeMount() {
this.fetchConversations()
@@ -91,8 +91,8 @@ export default {
* ( if the current route is a conversation and once the conversations are received)
*/
EventBus.$emit('conversationsReceived')
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/Navigation/GroupsList/GroupsList.vue b/src/components/Navigation/GroupsList/GroupsList.vue
index 7101cb2eb..dd3b3d809 100644
--- a/src/components/Navigation/GroupsList/GroupsList.vue
+++ b/src/components/Navigation/GroupsList/GroupsList.vue
@@ -43,24 +43,24 @@ export default {
name: 'GroupsList',
components: {
ConversationIcon,
- AppContentListItem
+ AppContentListItem,
},
props: {
groups: {
type: Array,
- required: true
+ required: true,
},
isLoading: {
type: Boolean,
- default: false
- }
+ default: false,
+ },
},
computed: {
dummyIconData() {
return {
- type: CONVERSATION.TYPE.GROUP
+ type: CONVERSATION.TYPE.GROUP,
}
- }
+ },
},
methods: {
/**
@@ -74,8 +74,8 @@ export default {
this.$store.dispatch('addConversation', conversation)
this.$router.push({ name: 'conversation', params: { token: conversation.token } }).catch(err => console.debug(`Error while pushing the new conversation's route: ${err}`))
console.debug(response)
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/Navigation/Hint/Hint.vue b/src/components/Navigation/Hint/Hint.vue
index 9ca71c0db..af3f63963 100644
--- a/src/components/Navigation/Hint/Hint.vue
+++ b/src/components/Navigation/Hint/Hint.vue
@@ -31,9 +31,9 @@ export default {
props: {
hint: {
type: String,
- required: true
- }
- }
+ required: true,
+ },
+ },
}
</script>
diff --git a/src/components/Navigation/Navigation.vue b/src/components/Navigation/Navigation.vue
index e7619647f..58df3cf76 100644
--- a/src/components/Navigation/Navigation.vue
+++ b/src/components/Navigation/Navigation.vue
@@ -76,7 +76,7 @@ export default {
ContactsList,
GroupsList,
Caption,
- Hint
+ Hint,
},
data() {
@@ -85,14 +85,14 @@ export default {
searchResults: {},
searchResultsUsers: [],
searchResultsGroups: [],
- contactsLoading: false
+ contactsLoading: false,
}
},
computed: {
isSearching() {
return this.searchText !== ''
- }
+ },
},
methods: {
@@ -109,8 +109,8 @@ export default {
this.searchResultsUsers = this.searchResults.filter((match) => match.source === 'users' && match.id !== getCurrentUser().uid)
this.searchResultsGroups = this.searchResults.filter((match) => match.source === 'groups')
this.contactsLoading = false
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/NewConversationForm/NewConversationForm.vue b/src/components/NewConversationForm/NewConversationForm.vue
index 4173b7ad2..f00de50e0 100644
--- a/src/components/NewConversationForm/NewConversationForm.vue
+++ b/src/components/NewConversationForm/NewConversationForm.vue
@@ -34,8 +34,8 @@ export default {
name: 'NewConversationForm',
components: {
AppNavigationNew,
- Multiselect
- }
+ Multiselect,
+ },
}
</script>
diff --git a/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue b/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue
index 5bb0637fa..ccee3e15f 100644
--- a/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue
+++ b/src/components/NewMessageForm/AdvancedInput/AdvancedInput.vue
@@ -36,7 +36,7 @@ export default {
*/
placeholderText: {
type: String,
- default: 'New Message ...'
+ default: 'New Message ...',
},
/**
@@ -44,18 +44,18 @@ export default {
*/
activeInput: {
type: Boolean,
- default: true
+ default: true,
},
value: {
type: String,
- required: true
- }
+ required: true,
+ },
},
data: function() {
return {
active: true,
- text: ''
+ text: '',
}
},
watch: {
@@ -66,7 +66,7 @@ export default {
},
value(value) {
this.text = value
- }
+ },
},
methods: {
/**
@@ -82,8 +82,8 @@ export default {
event.preventDefault()
this.$emit('submit', event)
}
- }
- }
+ },
+ },
}
</script>
diff --git a/src/components/NewMessageForm/NewMessageForm.vue b/src/components/NewMessageForm/NewMessageForm.vue
index 530e1c2ab..80a3844fd 100644
--- a/src/components/NewMessageForm/NewMessageForm.vue
+++ b/src/components/NewMessageForm/NewMessageForm.vue
@@ -60,11 +60,11 @@ export default {
name: 'NewMessageForm',
components: {
AdvancedInput,
- Quote
+ Quote,
},
data: function() {
return {
- text: ''
+ text: '',
}
},
computed: {
@@ -78,7 +78,7 @@ export default {
},
messageToBeReplied() {
return this.$store.getters.getMessageToBeReplied(this.token)
- }
+ },
},
methods: {
/**
@@ -95,7 +95,7 @@ export default {
message: this.text,
token: this.token,
timestamp: 0,
- systemMessage: ''
+ systemMessage: '',
})
/**
* If the current message is a quote-reply messag, add the parent key to the
@@ -143,8 +143,8 @@ export default {
}
}
- }
- }
+ },
+ },
}
</script>
diff --git a/src/constants.js b/src/constants.js
index f3a9eaf09..0638bec57 100644
--- a/src/constants.js
+++ b/src/constants.js
@@ -21,31 +21,31 @@ export const CONVERSATION = {
START_CALL: {
EVERYONE: 0,
USERS: 1,
- MODERATORS: 2
+ MODERATORS: 2,
},
STATE: {
READ_WRITE: 0,
- READ_ONLY: 1
+ READ_ONLY: 1,
},
TYPE: {
ONE_TO_ONE: 1,
GROUP: 2,
PUBLIC: 3,
- CHANGELOG: 4
- }
+ CHANGELOG: 4,
+ },
}
export const PARTICIPANT = {
CALL_FLAG: {
DISCONNECTED: 0,
IN_CALL: 1,
WITH_AUDIO: 2,
- WITH_VIDEO: 4
+ WITH_VIDEO: 4,
},
NOTIFY: {
DEFAULT: 0,
ALWAYS: 1,
MENTION: 2,
- NEVER: 3
+ NEVER: 3,
},
TYPE: {
OWNER: 1,
@@ -53,12 +53,12 @@ export const PARTICIPANT = {
USER: 3,
GUEST: 4,
USER_SELF_JOINED: 5,
- GUEST_MODERATOR: 6
- }
+ GUEST_MODERATOR: 6,
+ },
}
export const WEBINAR = {
LOBBY: {
NONE: 0,
- NON_MODERATORS: 1
- }
+ NON_MODERATORS: 1,
+ },
}
diff --git a/src/main.js b/src/main.js
index 0a25a6021..dd0f619ea 100644
--- a/src/main.js
+++ b/src/main.js
@@ -55,5 +55,5 @@ export default new Vue({
el: '#content',
store,
router,
- render: h => h(App)
+ render: h => h(App),
})
diff --git a/src/router/router.js b/src/router/router.js
index c8717b176..72d483b85 100644
--- a/src/router/router.js
+++ b/src/router/router.js
@@ -39,13 +39,13 @@ export default new Router({
path: '/apps/spreed',
name: 'root',
component: WelcomeView,
- props: true
+ props: true,
},
{
path: '/call/:token',
name: 'conversation',
component: ChatView,
- props: true
- }
- ]
+ props: true,
+ },
+ ],
})
diff --git a/src/services/messagesService.js b/src/services/messagesService.js
index 1b5f8e8b2..c64579b57 100644
--- a/src/services/messagesService.js
+++ b/src/services/messagesService.js
@@ -74,5 +74,5 @@ const postNewMessage = async function({ token, message, parent }) {
export {
fetchMessages,
lookForNewMessges,
- postNewMessage
+ postNewMessage,
}
diff --git a/src/services/participantsService.js b/src/services/participantsService.js
index 79f8f74f6..51e37800f 100644
--- a/src/services/participantsService.js
+++ b/src/services/participantsService.js
@@ -69,5 +69,5 @@ const removeCurrentUserFromConversation = async function(token) {
export {
joinConversation,
leaveConversation,
- removeCurrentUserFromConversation
+ removeCurrentUserFromConversation,
}
diff --git a/src/store/conversationsStore.js b/src/store/conversationsStore.js
index 813cf6965..2a88d5020 100644
--- a/src/store/conversationsStore.js
+++ b/src/store/conversationsStore.js
@@ -24,18 +24,18 @@ import Vue from 'vue'
const getDefaultState = () => {
return {
conversations: {
- }
+ },
}
}
const state = {
conversations: {
- }
+ },
}
const getters = {
conversations: state => state.conversations,
- conversationsList: state => Object.values(state.conversations)
+ conversationsList: state => Object.values(state.conversations),
}
const mutations = {
@@ -62,7 +62,7 @@ const mutations = {
*/
purgeConversationsStore(state) {
Object.assign(state, getDefaultState())
- }
+ },
}
const actions = {
@@ -91,7 +91,7 @@ const actions = {
*/
purgeConversationsStore(context) {
context.commit('purgeConversationsStore')
- }
+ },
}
export default { state, mutations, getters, actions }
diff --git a/src/store/index.js b/src/store/index.js
index 79d154aad..2e3ee96c4 100644
--- a/src/store/index.js
+++ b/src/store/index.js
@@ -34,10 +34,10 @@ export default new Store({
modules: {
conversationsStore,
messagesStore,
- quoteReplyStore
+ quoteReplyStore,
},
mutations,
- strict: process.env.NODE_ENV !== 'production'
+ strict: process.env.NODE_ENV !== 'production',
})
diff --git a/src/store/messagesStore.js b/src/store/messagesStore.js
index e92f58967..fc3fa3e4f 100644
--- a/src/store/messagesStore.js
+++ b/src/store/messagesStore.js
@@ -23,7 +23,7 @@ import Vue from 'vue'
const state = {
messages: {
- }
+ },
}
const getters = {
@@ -62,7 +62,7 @@ const getters = {
return state.messages[token][id]
}
return {}
- }
+ },
}
const mutations = {
@@ -92,7 +92,7 @@ const mutations = {
*/
addTemporaryMessage(state, message) {
Vue.set(state.messages[message.token], message.id, message)
- }
+ },
}
const actions = {
@@ -134,7 +134,7 @@ const actions = {
*/
addTemporaryMessage(context, message) {
context.commit('addTemporaryMessage', message)
- }
+ },
}
export default { state, mutations, getters, actions }
diff --git a/src/store/quoteReplyStore.js b/src/store/quoteReplyStore.js
index 578dabc73..27b93605e 100644
--- a/src/store/quoteReplyStore.js
+++ b/src/store/quoteReplyStore.js
@@ -23,7 +23,7 @@
import Vue from 'vue'
const state = {
- messagesToBeReplied: {}
+ messagesToBeReplied: {},
}
const getters = {
@@ -31,7 +31,7 @@ const getters = {
if (state.messagesToBeReplied[token]) {
return state.messagesToBeReplied[token]
}
- }
+ },
}
const mutations = {
@@ -54,7 +54,7 @@ const mutations = {
*/
removeMessageToBeReplied(state, token) {
Vue.delete(state.messagesToBeReplied, token)
- }
+ },
}
const actions = {
@@ -79,7 +79,7 @@ const actions = {
*/
removeMessageToBeReplied(context, token) {
context.commit('removeMessageToBeReplied', token)
- }
+ },
}
export default { state, mutations, getters, actions }
diff --git a/src/views/AdminSettings/AllowedGroups.vue b/src/views/AdminSettings/AllowedGroups.vue
index 1fd326c44..35a8ff739 100644
--- a/src/views/AdminSettings/AllowedGroups.vue
+++ b/src/views/AdminSettings/AllowedGroups.vue
@@ -67,7 +67,7 @@ export default {
name: 'AllowedGroups',
components: {
- Multiselect
+ Multiselect,
},
data() {
@@ -76,7 +76,7 @@ export default {
loadingGroups: false,
groups: [],
allowedGroups: [],
- saveButtonText: t('spreed', 'Save changes')
+ saveButtonText: t('spreed', 'Save changes'),
}
},
@@ -118,10 +118,10 @@ export default {
setTimeout(function() {
this.saveButtonText = t('spreed', 'Save changes')
}.bind(this), 5000)
- }.bind(this)
+ }.bind(this),
})
- }
- }
+ },
+ },
}
</script>
diff --git a/src/views/AdminSettings/Commands.vue b/src/views/AdminSettings/Commands.vue
index e56a95b35..0912416ce 100644
--- a/src/views/AdminSettings/Commands.vue
+++ b/src/views/AdminSettings/Commands.vue
@@ -60,26 +60,26 @@ export default {
name: 'Commands',
components: {
- Command
+ Command,
},
data() {
return {
- commands: {}
+ commands: {},
}
},
computed: {
commandHint() {
return t('spreed', 'Commands are a new beta feature in Nextcloud Talk. They allow you to run scripts on your Nextcloud server. You can define them with our command line interface. An example of a calculator script can be found in our <a {attributes}>documentation ↗</a>.', {
- attributes: 'target="_blank" rel="noreferrer noopener" href="https://github.com/nextcloud/spreed/blob/master/docs/commands.md"'
+ attributes: 'target="_blank" rel="noreferrer noopener" href="https://github.com/nextcloud/spreed/blob/master/docs/commands.md"',
}, undefined, { escape: false })
- }
+ },
},
mounted() {
this.commands = OCP.InitialState.loadState('talk', 'commands')
- }
+ },
}
</script>
diff --git a/src/views/AdminSettings/GeneralSettings.vue b/src/views/AdminSettings/GeneralSettings.vue
index 75c5941d7..d93fb2a9c 100644
--- a/src/views/AdminSettings/GeneralSettings.vue
+++ b/src/views/AdminSettings/GeneralSettings.vue
@@ -71,13 +71,13 @@ import { Multiselect } from 'nextcloud-vue'
const startCallOptions = [
{ value: 0, label: t('spreed', 'Everyone') },
{ value: 1, label: t('spreed', 'Users and moderators') },
- { value: 2, label: t('spreed', 'Moderators only') }
+ { value: 2, label: t('spreed', 'Moderators only') },
]
export default {
name: 'GeneralSettings',
components: {
- Multiselect
+ Multiselect,
},
data() {
@@ -90,7 +90,7 @@ export default {
startCalls: startCallOptions[0],
conversationsFiles: true,
- conversationsFilesPublicShares: true
+ conversationsFilesPublicShares: true,
}
},
@@ -109,7 +109,7 @@ export default {
OCP.AppConfig.setValue('spreed', 'start_calls', this.startCalls.value, {
success: function() {
this.loadingStartCalls = false
- }.bind(this)
+ }.bind(this),
})
},
saveConversationsFiles() {
@@ -123,12 +123,12 @@ export default {
success: function() {
this.conversationsFilesPublicShares = false
this.loadingConversationsFiles = false
- }.bind(this)
+ }.bind(this),
})
} else {
this.loadingConversationsFiles = false
}
- }.bind(this)
+ }.bind(this),
})
},
saveConversationsFilesPublicShares() {
@@ -137,10 +137,10 @@ export default {
OCP.AppConfig.setValue('spreed', 'conversations_files_public_shares', this.conversationsFilesPublicShares ? '1' : '0', {
success: function() {
this.loadingConversationsFiles = false
- }.bind(this)
+ }.bind(this),
})
- }
- }
+ },
+ },
}
</script>
<style scoped lang="scss">
diff --git a/src/views/AdminSettings/SignalingServers.vue b/src/views/AdminSettings/SignalingServers.vue
index ab990731a..54429acf1 100644
--- a/src/views/AdminSettings/SignalingServers.vue
+++ b/src/views/AdminSettings/SignalingServers.vue
@@ -87,11 +87,11 @@ export default {
name: 'SignalingServers',
directives: {
- tooltip: Tooltip
+ tooltip: Tooltip,
},
components: {
- SignalingServer
+ SignalingServer,
},
data() {
@@ -100,7 +100,7 @@ export default {
secret: '',
hideWarning: false,
loading: false,
- saved: false
+ saved: false,
}
},
@@ -120,7 +120,7 @@ export default {
newServer() {
this.servers.push({
server: '',
- verify: false
+ verify: false,
})
},
@@ -132,7 +132,7 @@ export default {
success() {
self.loading = false
self.toggleSave()
- }
+ },
})
},
@@ -148,12 +148,12 @@ export default {
const self = this
OCP.AppConfig.setValue('spreed', 'signaling_servers', JSON.stringify({
servers: this.servers,
- secret: this.secret
+ secret: this.secret,
}), {
success() {
self.loading = false
self.toggleSave()
- }
+ },
})
},
@@ -162,7 +162,7 @@ export default {
setTimeout(() => {
this.saved = false
}, 3000)
- }
- }
+ },
+ },
}
</script>
diff --git a/src/views/AdminSettings/StunServers.vue b/src/views/AdminSettings/StunServers.vue
index b707affbf..81bc0f07b 100644
--- a/src/views/AdminSettings/StunServers.vue
+++ b/src/views/AdminSettings/StunServers.vue
@@ -62,18 +62,18 @@ export default {
name: 'StunServers',
directives: {
- tooltip: Tooltip
+ tooltip: Tooltip,
},
components: {
- StunServer
+ StunServer,
},
data() {
return {
servers: [],
loading: false,
- saved: false
+ saved: false,
}
},
@@ -104,7 +104,7 @@ export default {
async updateServers() {
this.loading = true
- let servers = []
+ const servers = []
this.servers.forEach((server) => {
@@ -124,7 +124,7 @@ export default {
success() {
self.loading = false
self.toggleSave()
- }
+ },
})
},
@@ -133,8 +133,8 @@ export default {
setTimeout(() => {
this.saved = false
}, 3000)
- }
- }
+ },
+ },
}
</script>
diff --git a/src/views/AdminSettings/TurnServers.vue b/src/views/AdminSettings/TurnServers.vue
index 64b0e792b..b2e114352 100644
--- a/src/views/AdminSettings/TurnServers.vue
+++ b/src/views/AdminSettings/TurnServers.vue
@@ -66,18 +66,18 @@ export default {
name: 'TurnServers',
directives: {
- tooltip: Tooltip
+ tooltip: Tooltip,
},
components: {
- TurnServer
+ TurnServer,
},
data() {
return {
servers: [],
loading: false,
- saved: false
+ saved: false,
}
},
@@ -95,7 +95,7 @@ export default {
this.servers.push({
server: '',
secret: '',
- protocols: 'udp,tcp' // default to udp AND tcp
+ protocols: 'udp,tcp', // default to udp AND tcp
})
},
@@ -104,13 +104,13 @@ export default {
}, 1000),
async updateServers() {
- var servers = []
+ const servers = []
this.servers.forEach((server) => {
const data = {
server: server.server,
secret: server.secret,
- protocols: server.protocols
+ protocols: server.protocols,
}
if (data.server.startsWith('https://')) {
@@ -133,7 +133,7 @@ export default {
success() {
self.loading = false
self.toggleSave()
- }
+ },
})
},
@@ -142,7 +142,7 @@ export default {
setTimeout(() => {
this.saved = false
}, 3000)
- }
- }
+ },
+ },
}
</script>
diff --git a/src/views/ChatView.vue b/src/views/ChatView.vue
index 303be2bd2..bf437e2da 100644
--- a/src/views/ChatView.vue
+++ b/src/views/ChatView.vue
@@ -13,14 +13,14 @@ export default {
name: 'ChatView',
components: {
MessagesList,
- NewMessageForm
+ NewMessageForm,
},
props: {
token: {
type: String,
- required: true
- }
- }
+ required: true,
+ },
+ },
}
</script>
diff --git a/src/views/CollaborationView.vue b/src/views/CollaborationView.vue
index 591ca56c8..53be81945 100644
--- a/src/views/CollaborationView.vue
+++ b/src/views/CollaborationView.vue
@@ -35,7 +35,7 @@ import { CollectionList } from 'nextcloud-vue-collections'
export default {
name: 'CollaborationView',
components: {
- CollectionList: CollectionList
+ CollectionList: CollectionList,
},
computed: {
roomId() {
@@ -49,7 +49,7 @@ export default {
return '' + this.$root.model.displayName
}
return ''
- }
- }
+ },
+ },
}
</script>
diff --git a/src/views/RoomSelector.vue b/src/views/RoomSelector.vue
index dd3427940..0170aec56 100644
--- a/src/views/RoomSelector.vue
+++ b/src/views/RoomSelector.vue
@@ -110,7 +110,7 @@ import axios from 'nextcloud-axios'
export default {
name: 'RoomSelector',
components: {
- Modal, Avatar
+ Modal, Avatar,
},
data() {
return {
@@ -122,8 +122,8 @@ export default {
ROOM_TYPE_ONE_TO_ONE: 1,
ROOM_TYPE_GROUP: 2,
ROOM_TYPE_PUBLIC: 3,
- ROOM_TYPE_CHANGELOG: 4
- }
+ ROOM_TYPE_CHANGELOG: 4,
+ },
}
},
computed: {
@@ -140,7 +140,7 @@ export default {
&& room.objectType !== 'file'
&& room.objectType !== 'share:password'
})
- }
+ },
},
beforeMount() {
this.fetchRooms()
@@ -157,7 +157,7 @@ export default {
},
select() {
this.$root.$emit('select', this.selectedRoom)
- }
- }
+ },
+ },
}
</script>
diff --git a/src/views/WelcomeView.vue b/src/views/WelcomeView.vue
index d705384d7..02679053e 100644
--- a/src/views/WelcomeView.vue
+++ b/src/views/WelcomeView.vue
@@ -14,7 +14,7 @@
<script>
export default {
- name: 'WelcomeView'
+ name: 'WelcomeView',
}
</script>