-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a2cf19d
commit 9cec1e9
Showing
6 changed files
with
36 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,6 +82,9 @@ export default { | |
} | ||
}, | ||
computed: { | ||
public_key() { | ||
return this.drive_config?.public_key || ''; | ||
}, | ||
github_url() { | ||
const remote_url = this.remote_url || ''; | ||
if (remote_url.startsWith('[email protected]:')) { | ||
|
@@ -108,7 +111,7 @@ export default { | |
}); | ||
await response.json(); | ||
await this.$root.changeDrive(this.driveId); | ||
await this.emit('changed'); | ||
await this.$emit('changed'); | ||
}, | ||
async saveAndReset() { | ||
await this.save(); | ||
|
@@ -123,7 +126,7 @@ export default { | |
method: 'post' | ||
}); | ||
await this.emit('changed'); | ||
await this.$emit('changed'); | ||
} | ||
} | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,7 @@ export class ConfigController extends Controller { | |
|
||
const gitScanner = new GitScanner(this.logger, transformedFileSystem.getRealPath(), '[email protected]'); | ||
await gitScanner.initialize(); | ||
await gitScanner.setSafeDirectory(); | ||
|
||
const googleFileSystem = await this.filesService.getSubFileService(driveId, ''); | ||
const userConfigService = new UserConfigService(googleFileSystem); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters