ADD: Basic save
This commit is contained in:
@@ -145,6 +145,7 @@
|
||||
: 'border-2'
|
||||
"
|
||||
class="app-titlebar-button"
|
||||
@click="nanoDevicesAPI.save(store.connectedId)"
|
||||
>
|
||||
Save
|
||||
</MenubarButton>
|
||||
@@ -208,7 +209,7 @@ const showDisconnectButton = ref(false)
|
||||
|
||||
const isMaximized = ref(false)
|
||||
|
||||
const { electronAPI } = window
|
||||
const { electronAPI, nanoDevicesAPI } = window
|
||||
|
||||
const isMacOS = electronAPI.platform === 'darwin'
|
||||
const zoomFactor = ref(1)
|
||||
|
||||
@@ -14,6 +14,14 @@ import mockData from '@renderer/data/nanoConfig.json'
|
||||
|
||||
const { nanoDevicesAPI } = window
|
||||
|
||||
// TODO: Define Profile type
|
||||
|
||||
// TODO: Define Device type
|
||||
|
||||
// TODO: Define Key type
|
||||
|
||||
// TODO: Define ProfileCategory type
|
||||
|
||||
export const useStore = defineStore('main', {
|
||||
state: () => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user