Dev buttons messages

This commit is contained in:
Sagi Dayan 2020-05-01 13:36:24 -04:00
parent 8acef2bf39
commit 6bbff50996
6 changed files with 11 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -169,7 +169,7 @@ export default {
},
methods: {
onDeleteClicked() {
this.notify({ message: "Test" });
this.notify({ message: "Delete button clicked. Still not working" });
},
goToUserProfile(user) {
if (this.user.id === user.id) {

View file

@ -63,7 +63,7 @@
<!-- Right side -->
<div class="level-right">
<div class="level-item">
<button class="button">
<button class="button" @click="onAddClicked()">
<i class="fa fa-fw fa-plus"></i> Add
</button>
<button class="button is-success m-l-md" @click="showCreateCallModal=true">
@ -139,8 +139,11 @@ export default {
};
},
methods: {
onAddClicked() {
this.notify({ message: "Add button clicked. Still not working" });
},
onDeleteClicked() {
this.notify({ message: "Test" });
this.notify({ message: "Delete button clicked. Still not working" });
},
goChildProfile(connection) {
this.$router.push({ path: `/child/${connection.id}` });