Move common to review html into a fragment and delete unused submit confirmation macro and vue component

This commit is contained in:
leigh-mil
2019-07-16 16:50:28 -04:00
parent 5b208d9e8d
commit 72da5f36c3
6 changed files with 90 additions and 256 deletions

View File

@@ -1,28 +0,0 @@
import checkboxinput from './checkbox_input'
export default {
name: 'submit-confirmation',
components: {
checkboxinput,
},
data: function() {
return {
valid: false,
checked: false,
}
},
methods: {
toggleValid: function() {
this.valid = !this.valid
},
handleClose: function() {
this.$root.closeModal(this.name)
this.checked = false
this.valid = false
},
},
}

View File

@@ -35,7 +35,6 @@ import { isNotInVerticalViewport } from './lib/viewport'
import DateSelector from './components/date_selector'
import SidenavToggler from './components/sidenav_toggler'
import BaseForm from './components/forms/base_form'
import SubmitConfirmation from './components/submit_confirmation'
import DeleteConfirmation from './components/delete_confirmation'
import NewEnvironment from './components/forms/new_environment'
import EnvironmentRole from './components/environment_role'
@@ -79,7 +78,6 @@ const app = new Vue({
SidenavToggler,
BaseForm,
DeleteConfirmation,
SubmitConfirmation,
nestedcheckboxinput,
NewEnvironment,
EnvironmentRole,