File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
site/src/pages/TemplatePage/TemplateEmbedPage Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -52,12 +52,13 @@ interface TemplateEmbedPageViewProps {
52
52
templateParameters ?: TemplateVersionParameter [ ] ;
53
53
}
54
54
55
+ const deploymentUrl = `${ window . location . protocol } //${ window . location . host } ` ;
56
+
55
57
function getClipboardCopyContent (
56
58
templateName : string ,
57
59
organization : string ,
58
60
buttonValues : ButtonValues | undefined ,
59
61
) : string {
60
- const deploymentUrl = `${ window . location . protocol } //${ window . location . host } ` ;
61
62
const createWorkspaceUrl = `${ deploymentUrl } /templates/${ organization } /${ templateName } /workspace` ;
62
63
const createWorkspaceParams = new URLSearchParams ( buttonValues ) ;
63
64
if ( createWorkspaceParams . get ( "name" ) === "" ) {
@@ -162,7 +163,7 @@ export const TemplateEmbedPageView: FC<TemplateEmbedPageViewProps> = ({
162
163
< Label className = "text-md" htmlFor = { defaultWorkspaceNameID } >
163
164
Workspace name
164
165
</ Label >
165
- < div className = { "text-sm text-content-secondary mb -3" } >
166
+ < div className = "text-sm text-content-secondary pb -3" >
166
167
Default name for the new workspace
167
168
</ div >
168
169
< Input
You can’t perform that action at this time.
0 commit comments