aboutsummaryrefslogtreecommitdiffstats
path: root/apps/user_status/src/components/SetStatusModal.vue
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-12-02 18:32:57 +0100
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-01-08 10:14:05 +0100
commit74b980310852a0b406fa9d073870f92c409d5444 (patch)
tree055cbdf57886077bf3a6ea476813deedb54064e0 /apps/user_status/src/components/SetStatusModal.vue
parent85bc8513557f5ff37fc283d53893d4cb77ec7c3b (diff)
downloadnextcloud-server-74b980310852a0b406fa9d073870f92c409d5444.tar.gz
nextcloud-server-74b980310852a0b406fa9d073870f92c409d5444.zip
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/user_status/src/components/SetStatusModal.vue')
-rw-r--r--apps/user_status/src/components/SetStatusModal.vue14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/user_status/src/components/SetStatusModal.vue b/apps/user_status/src/components/SetStatusModal.vue
index 95d1aa974d2..704e4ae3788 100644
--- a/apps/user_status/src/components/SetStatusModal.vue
+++ b/apps/user_status/src/components/SetStatusModal.vue
@@ -110,7 +110,7 @@ export default {
/**
* Returns the user-set icon or a smiley in case no icon is set
*
- * @returns {String}
+ * @return {string}
*/
visibleIcon() {
return this.icon || '😀'
@@ -142,7 +142,7 @@ export default {
/**
* Sets a new icon
*
- * @param {String} icon The new icon
+ * @param {string} icon The new icon
*/
setIcon(icon) {
this.messageId = null
@@ -154,7 +154,7 @@ export default {
/**
* Sets a new message
*
- * @param {String} message The new message
+ * @param {string} message The new message
*/
setMessage(message) {
this.messageId = null
@@ -163,7 +163,7 @@ export default {
/**
* Sets a new clearAt value
*
- * @param {Object} clearAt The new clearAt object
+ * @param {object} clearAt The new clearAt object
*/
setClearAt(clearAt) {
this.clearAt = clearAt
@@ -171,7 +171,7 @@ export default {
/**
* Sets new icon/message/clearAt based on a predefined message
*
- * @param {Object} status The predefined status object
+ * @param {object} status The predefined status object
*/
selectPredefinedMessage(status) {
this.messageId = status.id
@@ -182,7 +182,7 @@ export default {
/**
* Saves the status and closes the
*
- * @returns {Promise<void>}
+ * @return {Promise<void>}
*/
async saveStatus() {
if (this.isSavingStatus) {
@@ -216,7 +216,7 @@ export default {
},
/**
*
- * @returns {Promise<void>}
+ * @return {Promise<void>}
*/
async clearStatus() {
try {