mirror of
https://github.com/kaythomas0/noisedash.git
synced 2025-11-14 12:18:01 +00:00
Add profile name field to import
This commit is contained in:
@@ -16,6 +16,7 @@ export default {
|
||||
isImportValid: false,
|
||||
exportDialog: false,
|
||||
importedProfile: null,
|
||||
importedProfileName: '',
|
||||
exportedProfile: {},
|
||||
infoSnackbar: false,
|
||||
infoSnackbarText: '',
|
||||
@@ -458,7 +459,7 @@ export default {
|
||||
const profileJSON = JSON.parse(fileContents)
|
||||
|
||||
this.$http.post('/profiles/import', {
|
||||
name: profileJSON.name,
|
||||
name: this.importedProfileName,
|
||||
isTimerEnabled: profileJSON.isTimerEnabled,
|
||||
duration: profileJSON.duration,
|
||||
volume: profileJSON.volume,
|
||||
|
||||
Reference in New Issue
Block a user