Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
only set environment when playground enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
Alif Rachmawadi committed Jul 29, 2019
1 parent cc19785 commit bef7245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/winter.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
}
$: currentAction = actions[index];
$: environment = config && config.playground.environments[$env];
$: environment = config.playground.enabled && config.playground.environments[$env];
if (config.playground.enabled) {
const savedEnv = getEnv();
Expand Down

0 comments on commit bef7245

Please sign in to comment.