Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
actual-vt-capstone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danieljk
actual-vt-capstone
Commits
2857e65c
Unverified
Commit
2857e65c
authored
2 years ago
by
Rich Howell
Committed by
GitHub
2 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #218 from ezfe/master
Fix enter to create accounts
parents
29124f62
55b9a0e7
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
packages/loot-design/src/components/common.js
+0
-4
0 additions, 4 deletions
packages/loot-design/src/components/common.js
packages/loot-design/src/components/modals/CreateLocalAccount.js
+3
-1
3 additions, 1 deletion
...s/loot-design/src/components/modals/CreateLocalAccount.js
with
3 additions
and
5 deletions
packages/loot-design/src/components/common.js
+
0
−
4
View file @
2857e65c
...
@@ -938,10 +938,6 @@ export function ModalButtons({
...
@@ -938,10 +938,6 @@ export function ModalButtons({
style
style
]}
]}
>
>
{
/* Add a dummy button first so that when a user
presses "enter" they do a normal submit, instead of
activating the back button */
}
<
Button
data
-
hidden
=
{
true
}
style
=
{{
display
:
'
none
'
}}
/
>
{
leftContent
}
{
leftContent
}
<
View
style
=
{{
flex
:
1
}}
/
>
<
View
style
=
{{
flex
:
1
}}
/
>
{
children
}
{
children
}
...
...
This diff is collapsed.
Click to expand it.
packages/loot-design/src/components/modals/CreateLocalAccount.js
+
3
−
1
View file @
2857e65c
...
@@ -146,7 +146,9 @@ function CreateLocalAccount({ modalProps, actions, history }) {
...
@@ -146,7 +146,9 @@ function CreateLocalAccount({ modalProps, actions, history }) {
)}
)}
<
ModalButtons
>
<
ModalButtons
>
<
Button
onClick
=
{()
=>
modalProps
.
onBack
()}
>
Back
<
/Button
>
<
Button
onClick
=
{()
=>
modalProps
.
onBack
()}
type
=
"
button
"
>
Back
<
/Button
>
<
Button
primary
style
=
{{
marginLeft
:
10
}}
>
<
Button
primary
style
=
{{
marginLeft
:
10
}}
>
Create
Create
<
/Button
>
<
/Button
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment