diff options
author | dartcafe <github@dartcafe.de> | 2021-04-18 23:39:25 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2021-04-18 23:39:25 +0300 |
commit | 2488d3a0e557161e73caa7557bf2f9bce3f74242 (patch) | |
tree | 4e2c057ef50aa9aa9723a32f13a6abf4bed27c8c /src/js/components/Base | |
parent | cbeba6e6fcf83dd655a4b9a24afc6ebcf1569bdc (diff) |
no-else-return
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'src/js/components/Base')
-rw-r--r-- | src/js/components/Base/ButtonDiv.vue | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/js/components/Base/ButtonDiv.vue b/src/js/components/Base/ButtonDiv.vue index a915402b..3a23b4c3 100644 --- a/src/js/components/Base/ButtonDiv.vue +++ b/src/js/components/Base/ButtonDiv.vue @@ -60,9 +60,9 @@ export default { iconClass() { if (this.submit) { return 'icon-confirm' - } else { - return this.icon } + return this.icon + }, withIcon() { @@ -74,9 +74,9 @@ export default { return 'submit' } else if (this.simple) { return 'simple' - } else { - return 'button' } + return 'button' + }, }, } |