Explorar el Código

Fix settings mislabeling

tags/v0.1.0
Immanuel Onyeka hace 3 años
padre
commit
46156826d7
Se han modificado 2 ficheros con 4 adiciones y 3 borrados
  1. +3
    -3
      resources/js/panel/settings.vue
  2. +1
    -0
      resources/views/master.blade.php

+ 3
- 3
resources/js/panel/settings.vue Ver fichero

@@ -48,7 +48,7 @@ function changeName() {
}).then(response => {
if (response.ok) {
pane.classList.add('completed')
info.textContent = 'Verification link sent.'
info.textContent = 'Completed'
} else {
pane.classList.add('error')
info.textContent = 'Error: ' + response.status
@@ -65,7 +65,7 @@ function changeEmail() {

pane.classList.add('loading')
pane.classList.remove('error')
fetch("/panel/change-name", {
fetch("/panel/change-email", {
method: 'POST',
headers: {'Content-Type': 'application/json',
'Accept': 'application/json',
@@ -74,7 +74,7 @@ function changeEmail() {
}).then(response => {
if (response.ok) {
pane.classList.add('completed')
info.textContent = 'Completed'
info.textContent = 'Verification link sent'
} else {
pane.classList.add('error')
info.textContent = 'Error: ' + response.status


+ 1
- 0
resources/views/master.blade.php Ver fichero

@@ -28,6 +28,7 @@
<div class='foot-links'>
<a href="/terms-and-policy">Terms & Policy</a>
<a href="mail:support@trendplays.com">Help</a>
@auth <a href="/logout">Logout</a> @endauth
</div>
<small>©Copyright 2021 Trendplays Network, Inc.</small>
</footer>


Cargando…
Cancelar
Guardar