Skip to content

Commit

Permalink
change notice
Browse files Browse the repository at this point in the history
  • Loading branch information
yumiguan committed Dec 29, 2021
1 parent ffecac3 commit 1e11447
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/form/Submit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</i-col>
<i-col span="6">
<Tooltip content="Save (⌘+s)" placement="top" :delay="500">
<Button @click="onSave" long type="info">
<Button @click="shownDraftNameModal = true" long type="info">
<span>
<b>Draft</b>
</span>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/store/form.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export default {
api.setCache(template.id, template.path, state.createName, state.templateDetail)
.then(response => {
if (response.data.code === 1000) {
bus.$emit('msg.success', 'Save as draft ' + state.createName + ', success')
bus.$emit('msg.success', 'Save draft ' + state.createName + ' success!')
commit('setSelectedCache', state.createName)
commit('setShownDraftNameModal', false)
dispatch('loadTemplate')
Expand Down

0 comments on commit 1e11447

Please sign in to comment.