Skip to content

Commit

Permalink
Merge pull request #1229 from hypersign-protocol/develop
Browse files Browse the repository at this point in the history
fixed
  • Loading branch information
Pratap2018 authored May 27, 2022
2 parents 0da1a11 + 9ea6a0a commit 47e5829
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/mixins/notificationMixins.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ export default{
text: msg,
});
},
notifyInfo(msg) {
this.isLoading = false;
this.$notify({
group: "foo",
title: "Information",
type: "info",
text: msg,
});
},


}
}
6 changes: 5 additions & 1 deletion src/views/admin/Events.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ export default {
throw new Error("Error while deleting event");
}
}else{
throw new Error("looks like you were about to delete a event by mistake");
throw new Error("Looks like you were about to delete a event by mistake");
}
}
});
Expand Down Expand Up @@ -1192,9 +1192,13 @@ export default {
setTimeout(() => {
this.whitelistingLink = "";
}, 10000);
this.notifySuccess(
Messages.EVENTS.CREATE_EDIT_EVENT.PROJECT_SAVED + resp.data._id
);
if(resp.data.projectName.includes('copy')){
this.notifyWarning("Clone of '"+resp.data.projectName.split('copy')[0]+"' created");
}
this.resetAllValues();
if (this.isProjectEditing) {
Expand Down

0 comments on commit 47e5829

Please sign in to comment.