Commit dd2d9a7f authored by derek-knox's avatar derek-knox

Update SavedChangesMessage returnUrl like PublishToolbar use

parent 56dd3db7
...@@ -28,7 +28,8 @@ export default { ...@@ -28,7 +28,8 @@ export default {
}, },
returnUrl: { returnUrl: {
type: String, type: String,
required: true, required: false,
default: '',
}, },
}, },
}; };
...@@ -46,7 +47,7 @@ export default { ...@@ -46,7 +47,7 @@ export default {
}} }}
</p> </p>
<div class="d-flex justify-content-end"> <div class="d-flex justify-content-end">
<gl-button ref="returnToSiteButton" :href="returnUrl">{{ <gl-button v-if="returnUrl" ref="returnToSiteButton" :href="returnUrl">{{
s__('StaticSiteEditor|Return to site') s__('StaticSiteEditor|Return to site')
}}</gl-button> }}</gl-button>
<gl-button ref="mergeRequestButton" class="ml-2" :href="mergeRequest.url" variant="success"> <gl-button ref="mergeRequestButton" class="ml-2" :href="mergeRequest.url" variant="success">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment