Skip to content

Commit

Permalink
Update GeneralSettingsStore.ts (#900)
Browse files Browse the repository at this point in the history
  • Loading branch information
srimanachanta committed Aug 22, 2023
1 parent 2f2396f commit 8751764
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions photon-client/src/stores/settings/GeneralSettingsStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const useSettingsStore = defineStore("settings", {
},
network: {
ntServerAddress: "",
shouldMange: true,
shouldManage: true,
connectionType: NetworkConnectionType.DHCP,
staticIp: "",
hostname: "photonvision",
Expand Down Expand Up @@ -91,7 +91,7 @@ export const useSettingsStore = defineStore("settings", {
runNTServer: this.network.runNTServer,
setDHCPcommand: this.network.setDHCPcommand || "",
setStaticCommand: this.network.setStaticCommand || "",
shouldMange: this.network.shouldMange,
shouldManage: this.network.shouldManage,
staticIp: this.network.staticIp
};
return axios.post("/settings/general", payload);
Expand Down

0 comments on commit 8751764

Please sign in to comment.