mirror of
https://github.com/pinry/pinry.git
synced 2025-11-18 10:50:38 +01:00
Feature: Add2Board works well
This commit is contained in:
committed by
Isaac Bythewood
parent
a2babdf33c
commit
109d8aca9f
@@ -8,7 +8,7 @@
|
||||
custom-size="mdi-24px">
|
||||
</b-icon>
|
||||
</span>
|
||||
<span class="icon-container">
|
||||
<span class="icon-container" @click="addToBoar">
|
||||
<b-icon
|
||||
type="is-light"
|
||||
icon="plus-box"
|
||||
@@ -35,6 +35,7 @@
|
||||
|
||||
<script>
|
||||
import API from '../api';
|
||||
import modals from '../modals';
|
||||
|
||||
export default {
|
||||
name: 'Editor',
|
||||
@@ -68,6 +69,9 @@ export default {
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
addToBoar() {
|
||||
modals.openAdd2Board(this, this.pin, this.currentUsername);
|
||||
},
|
||||
removeFromBoard() {
|
||||
this.$buefy.dialog.confirm({
|
||||
message: 'Remove Pin from Board?',
|
||||
|
||||
Reference in New Issue
Block a user