File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change 66 </t-card-header >
77 <t-card-body >
88 <inputText
9+ id =" pathToRepository"
910 v-model.trim =" pathToRepository"
1011 v-focus
1112 name =" pathToRepository"
3031 :outline =" true"
3132 margin-left =" auto"
3233 @click.native =" closeModal('AddLocalRepository')"
33- >
34- Close
35- </t-button >
36- <t-button
37- margin-left =" .5rem"
38- @click.native =" addRepository(pathToRepository)"
39- >
40- Add repository
41- </t-button >
34+ >Close</t-button >
35+ <t-button margin-left =" .5rem" @click.native =" addRepository(pathToRepository)" >Add repository</t-button >
4236 </t-card-footer >
4337 </t-card >
4438</template >
@@ -86,6 +80,8 @@ export default {
8680 methods: {
8781 fileSectorInput (event ) {
8882 this .pathToRepository = event .target .files [0 ].path .split (" \\ " ).join (" /" );
83+ var repositoryPathInput = document .getElementById (" pathToRepository" );
84+ repositoryPathInput .value = this .pathToRepository ;
8985 },
9086 addRepository (path ) {
9187 if (this .pathToRepository !== " " ) {
You can’t perform that action at this time.
0 commit comments