Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit fd1f408

Browse files
committed
Clear lastUpdatedPreset state after applying preset
1 parent 71c7ec2 commit fd1f408

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/client/src/app/generate-game/generate-game.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ export class GenerateGameComponent implements OnInit {
7878
case 'update':
7979
if (this.lastUpdatedPreset) {
8080
this.setPreset(this.lastUpdatedPreset);
81+
this.lastUpdatedPreset = null;
8182
}
8283
break;
8384
case 'remove':

0 commit comments

Comments
 (0)