Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
idatt1002_2023_9
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
Andreas Kluge Svendsrud
idatt1002_2023_9
Commits
12904e22
Commit
12904e22
authored
1 year ago
by
HSoreide
Browse files
Options
Downloads
Patches
Plain Diff
Add check for Apply button being present
parent
54ffa627
No related branches found
Branches containing commit
No related tags found
2 merge requests
!42
Hs frontend recipes
,
!41
Hs frontend recipes
Pipeline
#216574
passed
1 year ago
Stage: build
Stage: test
Stage: package
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/no/ntnu/idatt1002/demo/controller/SuggestRecipesController.java
+1
-1
1 addition, 1 deletion
...u/idatt1002/demo/controller/SuggestRecipesController.java
src/main/resources/recipes/Recipes.register
+1
-1
1 addition, 1 deletion
src/main/resources/recipes/Recipes.register
with
2 additions
and
2 deletions
src/main/java/no/ntnu/idatt1002/demo/controller/SuggestRecipesController.java
+
1
−
1
View file @
12904e22
...
...
@@ -73,7 +73,7 @@ public class SuggestRecipesController implements Initializable {
Optional
<
ButtonType
>
clickedButton
=
dialog
.
showAndWait
();
if
(
clickedButton
.
get
()
==
ButtonType
.
APPLY
)
{
if
(
clickedButton
.
isPresent
()
&&
clickedButton
.
get
()
==
ButtonType
.
APPLY
)
{
// Refresh ingredientsAtHand.
ingredientsAtHand
=
FileHandler
.
readIngredientsAtHand
(
"Fridge"
);
//TODO: Duplicate code and assertion.
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/recipes/Recipes.register
+
1
−
1
View file @
12904e22
#
Enkel p
asta
s
ala
t
#
Simple P
asta
S
ala
d
- PASTA | 300 | GR
- OLIVE_OIL | 2 | TBS
...
...
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