File tree Expand file tree Collapse file tree
src/routes/(console)/project-[region]-[project]/sites/site-[site]/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 let buildCommand = $state (site ?.buildCommand );
3333 let startCommand = $state (site ?.startCommand );
3434 let outputDirectory = $state (site ?.outputDirectory );
35- let fallback = $state (site ?.fallbackFile );
35+ let fallback = $state (site ?.fallbackFile ?? ' ' );
3636 let adapter: Adapter = $state (site .adapter as Adapter );
3737
3838 let selectedFramework = $state (
110110 lastFrameworkAdapterKey = ` ${selectedFramework .key }:${adapter ?? ' ' } ` ;
111111 });
112112
113- $effect (() => {
114- if (adapter === Adapter .Static ) {
115- if (! fallback ) {
116- fallback || = selectedFramework .adapters .find (
117- (a ) => a .key === Adapter .Static
118- ).fallbackFile ;
119- }
120- }
121- });
122-
123113 $effect (() => {
124114 if (selectedFramework ) {
125115 if (! selectedFramework .adapters .some ((a ) => a .key === adapter )) {
You can’t perform that action at this time.
0 commit comments