diff --git a/quasar.config.js b/quasar.config.js index 41c1c10..67ba81c 100644 --- a/quasar.config.js +++ b/quasar.config.js @@ -85,7 +85,21 @@ module.exports = configure(function (/* ctx */) { // https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#framework framework: { - config: {}, + config: { + brand: { + primary: "#00a352", + secondary: "#2668a6", + accent: "#9C27B0", + + dark: "#1d1d1d", + "dark-page": "#121212", + + positive: "#21BA45", + negative: "#C10015", + info: "#31CCEC", + warning: "#F2C037", + }, + }, // iconSet: 'material-icons', // Quasar icon set // lang: 'en-US', // Quasar language pack @@ -98,7 +112,7 @@ module.exports = configure(function (/* ctx */) { // directives: [], // Quasar plugins - plugins: [], + plugins: ["Dialog"], }, // animations: 'all', // --- includes all animations diff --git a/src/pages/RegisterPage.vue b/src/pages/RegisterPage.vue index b3bfab8..fe5ec37 100644 --- a/src/pages/RegisterPage.vue +++ b/src/pages/RegisterPage.vue @@ -103,10 +103,16 @@ diff --git a/src/stores/lista.js b/src/stores/lista.js index 39c2c53..bb40a11 100644 --- a/src/stores/lista.js +++ b/src/stores/lista.js @@ -44,20 +44,13 @@ export const useListaStore = defineStore("lista", () => { sort: "-created", }); } - async function register(data) { console.log(data); const record = await pb .collection("users") .create(data) .then((r) => { - pb.collection("users") - .requestVerification(data.email) - .then((r) => { - console.log("email enviado"); - this.router.push("/login"); - }); - console.log("Correcto"); + pb.collection("users").requestVerification(data.email); }) .catch((e) => { console.log(e);