[Client] Improve usability

This commit is contained in:
syuilo
2019-01-23 05:20:28 +09:00
parent fa124abbe2
commit 78c185a05a
2 changed files with 33 additions and 5 deletions

View File

@ -87,10 +87,18 @@ export default Vue.extend({
copyContent() {
copyToClipboard(this.note.text);
this.$root.dialog({
type: 'success',
splash: true
});
},
copyLink() {
copyToClipboard(`${url}/notes/${this.note.id}`);
this.$root.dialog({
type: 'success',
splash: true
});
},
pin() {