Skip to content

Commit

Permalink
Changed update to save
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Oct 13, 2024
1 parent 5626d47 commit 0acf597
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function loadConfig(configs: Record<string, string>[]): void {

$('#config .add').on('click', createNewMountConfig);

$('#config .update').on('click', () => {
$('#config .save').on('click', () => {
const configs = parseConfig();
if (!fs.existsSync('/etc')) {
fs.mkdirSync('/etc');
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<div class="right">
<button class="upload">Upload</button>
<button class="download">Download</button>
<button class="update">Save and update</button>
<button class="save">Save</button>
</div>
</ul>

Expand Down

0 comments on commit 0acf597

Please sign in to comment.