Merge branch 'master' into mann-fr-cv-studio-0

This commit is contained in:
chris2fr 2020-10-24 15:35:45 +02:00
commit 73a7c7a318
1 changed files with 4 additions and 2 deletions

View File

@ -67,20 +67,22 @@ var importComponent = {
deleteClicked: function(index)
{
console.log(index);
// console.log(index);
var response = confirm("Are you sure you want to delete this position? " + index);
if (response == true)
{
this.$root.versions.splice(index, 1);
}
storage.setLocalStorage("versions",this.$root.versions);
},
moveUpClicked: function(index)
{
console.log(index);
// console.log(index);
this.$root.moveArrayPosition(this.$root.versions, index, index - 1);
storage.setLocalStorage("versions",this.$root.versions);
},