Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Digitaler 3G-Nachweis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
AStA
Digitaler 3G-Nachweis
Commits
502813d2
Commit
502813d2
authored
3 years ago
by
Leon Tappe
Browse files
Options
Downloads
Patches
Plain Diff
clean up
parent
58c702c7
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
management/lib/pages/server_settings_page.dart
+0
-2
0 additions, 2 deletions
management/lib/pages/server_settings_page.dart
management/lib/widgets/user_view.dart
+1
-1
1 addition, 1 deletion
management/lib/widgets/user_view.dart
with
1 addition
and
3 deletions
management/lib/pages/server_settings_page.dart
+
0
−
2
View file @
502813d2
...
...
@@ -136,9 +136,7 @@ class _ServerSettingsPageState extends State<ServerSettingsPage> {
final
response
=
await
_adminApi
!.
updateSetting
(
key
,
result
.
toString
());
_settings
[
key
]
=
RuntimeSetting
.
fromMap
(
json
.
decode
(
response
.
values
.
single
));
}
else
if
(
result
is
int
)
{
print
(
result
.
toString
());
final
response
=
await
_adminApi
!.
updateSetting
(
key
,
result
.
toString
());
print
(
response
);
setState
(()
=
>
_settings
[
key
]
=
int
.
tryParse
(
response
.
values
.
single
));
}
}
...
...
This diff is collapsed.
Click to expand it.
management/lib/widgets/user_view.dart
+
1
−
1
View file @
502813d2
...
...
@@ -304,7 +304,7 @@ class _UserViewState extends State<UserView> {
_recoveredRuntime
=
settings
[
'runtime_recovered'
]
as
RuntimeSetting
;
_vaccinatedRuntime
=
settings
[
'runtime_vaccinated'
]
as
RuntimeSetting
;
_recoveredMinAge
=
settings
[
'min_age_recovered'
]
as
int
;
_recoveredMinAge
=
int
.
tryParse
(
settings
[
'min_age_recovered'
]
)
??
_recoveredMinAge
;
_motd
=
settings
[
'motd_internal'
]
??
''
;
...
...
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