refactor
This commit is contained in:
parent
e7e17f3899
commit
59e84ee830
|
@ -37,9 +37,6 @@
|
|||
display: block;
|
||||
margin: 20px 5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
<script>
|
||||
import Layout from '../_components/Layout.html';
|
||||
|
@ -81,7 +78,7 @@
|
|||
this.store.save()
|
||||
goto('/')
|
||||
},
|
||||
handleSubmit: async function(event) {
|
||||
onSubmit: async function(event) {
|
||||
event.preventDefault()
|
||||
let instanceName = this.store.get('instanceNameInSearch')
|
||||
instanceName = instanceName.replace(/^https?:\/\//, '').replace('/$', '')
|
||||
|
|
Loading…
Reference in New Issue