Dev buttons messages
This commit is contained in:
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
|
@ -169,7 +169,7 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onDeleteClicked() {
|
onDeleteClicked() {
|
||||||
this.notify({ message: "Test" });
|
this.notify({ message: "Delete button clicked. Still not working" });
|
||||||
},
|
},
|
||||||
goToUserProfile(user) {
|
goToUserProfile(user) {
|
||||||
if (this.user.id === user.id) {
|
if (this.user.id === user.id) {
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
<!-- Right side -->
|
<!-- Right side -->
|
||||||
<div class="level-right">
|
<div class="level-right">
|
||||||
<div class="level-item">
|
<div class="level-item">
|
||||||
<button class="button">
|
<button class="button" @click="onAddClicked()">
|
||||||
<i class="fa fa-fw fa-plus"></i> Add
|
<i class="fa fa-fw fa-plus"></i> Add
|
||||||
</button>
|
</button>
|
||||||
<button class="button is-success m-l-md" @click="showCreateCallModal=true">
|
<button class="button is-success m-l-md" @click="showCreateCallModal=true">
|
||||||
|
@ -139,8 +139,11 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
onAddClicked() {
|
||||||
|
this.notify({ message: "Add button clicked. Still not working" });
|
||||||
|
},
|
||||||
onDeleteClicked() {
|
onDeleteClicked() {
|
||||||
this.notify({ message: "Test" });
|
this.notify({ message: "Delete button clicked. Still not working" });
|
||||||
},
|
},
|
||||||
goChildProfile(connection) {
|
goChildProfile(connection) {
|
||||||
this.$router.push({ path: `/child/${connection.id}` });
|
this.$router.push({ path: `/child/${connection.id}` });
|
||||||
|
|
Reference in a new issue