diff --git a/ui/mock-server.js b/ui/mock-server.js
index fc03b12..927d666 100644
--- a/ui/mock-server.js
+++ b/ui/mock-server.js
@@ -113,12 +113,6 @@ app.get('/api/exit', (req, res) => {
res.status(204).send()
})
-app.get('/api/mock_error', (req, res) => {
- console.log('-- Toggle error emulation')
- showError = !showError
- res.status(200).send(`Error emulation: ${showError}\n`)
-})
-
app.post('/api/verify-path', (req, res) => {
console.log('-- Verify Path')
res.send({
diff --git a/ui/package.json b/ui/package.json
index 7571289..214f603 100644
--- a/ui/package.json
+++ b/ui/package.json
@@ -9,6 +9,7 @@
"postinstall": "node merge-strings.js"
},
"dependencies": {
+ "@mdi/font": "^5.3.45",
"axios": "^0.19.2",
"buefy": "^0.8.20",
"vue": "^2.6.11",
diff --git a/ui/src/locales/en.json b/ui/src/locales/en.json
index 007655e..b1b6c1f 100644
--- a/ui/src/locales/en.json
+++ b/ui/src/locales/en.json
@@ -21,7 +21,9 @@
"repair": "Repair",
"location":"Install Location",
"location_placeholder":"Enter a install path here",
- "select":"Select"
+ "select":"Select",
+ "overwriting": "Overwriting",
+ "overwriting_warning": "Directory {path} already exists.
Are you sure you want to overwrite the contents inside?"
},
"install_packages":{
"check_for_update":"Checking for updates...",
@@ -55,6 +57,8 @@
"back":"Back",
"exit":"Exit",
"yes":"Yes",
- "no":"No"
+ "no":"No",
+ "continue": "Continue",
+ "cancel":"Cancel"
}
}
diff --git a/ui/src/main.js b/ui/src/main.js
index 6544040..b8f456a 100644
--- a/ui/src/main.js
+++ b/ui/src/main.js
@@ -8,6 +8,7 @@ import { stream_ajax as streamAjax } from './helpers'
import Buefy from 'buefy'
import messages from './locales/messages.json'
import 'buefy/dist/buefy.css'
+import '@mdi/font/css/materialdesignicons.min.css'
Vue.config.productionTip = false
Vue.use(Buefy)
diff --git a/ui/src/views/InstallPackages.vue b/ui/src/views/InstallPackages.vue
index 291ae8a..85a1700 100644
--- a/ui/src/views/InstallPackages.vue
+++ b/ui/src/views/InstallPackages.vue
@@ -54,7 +54,7 @@ export default {
results.path = app.install_location
if (this.is_repair) {
- results['mode'] = 'force'
+ results.mode = 'force'
}
var targetUrl = '/api/start-install'
diff --git a/ui/src/views/ModifyView.vue b/ui/src/views/ModifyView.vue
index d5f79a3..ebfad50 100644
--- a/ui/src/views/ModifyView.vue
+++ b/ui/src/views/ModifyView.vue
@@ -2,33 +2,33 @@