UI improvements 2

This commit is contained in:
Čarodej
2022-01-03 17:27:39 +01:00
parent 09d8b84870
commit 3b4085f0ca
18 changed files with 218 additions and 226 deletions

View File

@@ -0,0 +1,19 @@
import store from '../store/index'
const ValidatorHelpers = {
install(Vue) {
Vue.prototype.$generatePaystackReference = function () {
let text = "";
let possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
for (let i = 0; i < 10; i++)
text += possible.charAt(Math.floor(Math.random() * possible.length));
return text;
}
}
}
export default ValidatorHelpers