Commit 9d688af5 authored by Jacob Schatz's avatar Jacob Schatz Committed by Eric Eastwood

Change method to be more accurate.

parent aef78386
......@@ -11,7 +11,7 @@ export default {
},
},
methods: {
editClicked() {
editCancelClicked() {
if (this.changedFiles.length) {
this.dialog.open = true;
return;
......@@ -38,7 +38,7 @@ export default {
</script>
<template>
<button class="btn btn-default" @click.prevent="editClicked" v-cloak v-if="isCommitable && !activeFile.render_error" :disabled="binary">
<button class="btn btn-default" @click.prevent="editCancelClicked" v-cloak v-if="isCommitable && !activeFile.render_error" :disabled="binary">
<i class="fa fa-pencil" v-if="!editMode"></i>
<span>{{buttonLabel}}</span>
</button>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment