[Client] Improve usability

This commit is contained in:
syuilo 2019-01-23 05:20:28 +09:00
parent fa124abbe2
commit 78c185a05a
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
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() {