projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b17ae9
)
Fix eslint issue in `Form/Builder/Field/Dependency/Value`
author
Matthias Schmidt
<gravatronics@live.com>
Fri, 18 Dec 2020 18:08:56 +0000
(19:08 +0100)
committer
Matthias Schmidt
<gravatronics@live.com>
Fri, 18 Dec 2020 18:08:56 +0000
(19:08 +0100)
wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Value.js
patch
|
blob
|
blame
|
history
wcfsetup/install/files/ts/WoltLabSuite/Core/Form/Builder/Field/Dependency/Value.ts
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Value.js
b/wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Value.js
index 5271c56a13ed5b4c393f4cae314e15df980b7ad7..2e3fa676c389204c4e93047546c7e2bbae2bcf13 100644
(file)
--- a/
wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Value.js
+++ b/
wcfsetup/install/files/js/WoltLabSuite/Core/Form/Builder/Field/Dependency/Value.js
@@
-22,7
+22,7
@@
define(["require", "exports", "tslib", "./Abstract", "./Manager", "../../../../C
if (!this._values) {
throw new Error("Values have not been set.");
}
-
le
t values = [];
+
cons
t values = [];
if (this._field) {
if (DependencyManager.isHiddenByDependencies(this._field)) {
return false;
diff --git
a/wcfsetup/install/files/ts/WoltLabSuite/Core/Form/Builder/Field/Dependency/Value.ts
b/wcfsetup/install/files/ts/WoltLabSuite/Core/Form/Builder/Field/Dependency/Value.ts
index 897603e076dc24276f0c1ade9ee7bb79b657aad0..9ecf5ace2194270ffa4097fb1eeaaaf8cbac1bc5 100644
(file)
--- a/
wcfsetup/install/files/ts/WoltLabSuite/Core/Form/Builder/Field/Dependency/Value.ts
+++ b/
wcfsetup/install/files/ts/WoltLabSuite/Core/Form/Builder/Field/Dependency/Value.ts
@@
-22,7
+22,7
@@
class Value extends Abstract {
throw new Error("Values have not been set.");
}
-
le
t values: string[] = [];
+
cons
t values: string[] = [];
if (this._field) {
if (DependencyManager.isHiddenByDependencies(this._field)) {
return false;