mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Implement missing weblink add/remove (#3092)
* implement weblink add/remove Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * cleanup Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * refactor Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * css fix Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com> * fix tests Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
1 parent
74624b1fdf
commit
7ba93c9c70
16 files changed
+496
-58
No files matched your search
@@ -261,7 +261,7 @@ export class Input extends React.Component<InputProps, State> {
|
||||
|
||||
switch (evt.key) {
|
||||
case "Enter":
|
||||
if (this.props.onSubmit && !modified && !evt.repeat && this.isValid) {
|
||||
if (this.props.onSubmit && !modified && !evt.repeat && this.isValid()) {
|
||||
this.props.onSubmit(this.getValue(), evt);
|
||||
|
||||
if (this.isUncontrolled) {
|
||||
|
||||
Reference in new issue
Block a user