Skip to content

Commit 30979d8

Browse files
core: frontend: wifi: ConnectionDialog: Use new wifi.setLoading
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
1 parent 907a378 commit 30979d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/frontend/src/components/wifi/ConnectionDialog.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ export default Vue.extend({
202202
const credentials: NetworkCredentials = { ssid: this.real_ssid, password: this.password }
203203
this.connection_status = ConnectionStatus.Connecting
204204
try {
205+
wifi.setLoading(true)
205206
await back_axios({
206207
method: 'post',
207208
url: `${wifi.API_URL}/connect`,
@@ -223,6 +224,7 @@ export default Vue.extend({
223224
}
224225
},
225226
async removeSavedWifiNetwork(): Promise<void> {
227+
wifi.setLoading(true)
226228
await back_axios({
227229
method: 'post',
228230
url: `${wifi.API_URL}/remove`,

0 commit comments

Comments
 (0)