New client more updates (#8934)

* Added api token to page

* Fixed wiki link

* Added categoires

* Removed extra create challenge button. Add prize model and user balance deduction

* Added pending filter

* Added member sort

* Added confirmation for leaving

* Filtered tavern

* Added redirect to newly created guild

* Made guild links routerlinks

* Fixed wiki link and added fetch recent messages

* Show backgrounds only on edit. Fixed glasses equip

* Added link to register page

* Added yesterdailies

* Added achievement footer

* Update guild badges

* Added avatar to achievement avatar component

* More guild crests updates

* Achievement footer and avatar added

* Added notification read

* Removed duplicate string
This commit is contained in:
Keith Holliday
2017-08-09 10:56:48 -06:00
committed by GitHub
parent f57c647e21
commit 5995dd235d
40 changed files with 468 additions and 421 deletions

View File

@@ -8,7 +8,7 @@
h6 {{ $t('userId') }}
pre.prettyprint {{user.id}}
h6 {{ $t('APIToken') }}
pre.prettyprint {{user.apiToken}}
pre.prettyprint {{apiToken}}
small(v-html='$t("APITokenWarning", { hrefTechAssistanceEmail })')
.section
@@ -70,6 +70,8 @@ import { mapState } from 'client/libs/store';
import uuid from '../../../common/script/libs/uuid';
// @TODO: env.EMAILS.TECH_ASSISTANCE_EMAIL
const TECH_ASSISTANCE_EMAIL = 'admin@habitica.com';
let AUTH_SETTINGS = localStorage.getItem('habit-mobile-settings');
AUTH_SETTINGS = JSON.parse(AUTH_SETTINGS);
export default {
data () {
@@ -82,6 +84,9 @@ export default {
},
computed: {
...mapState({user: 'user.data'}),
apiToken () {
return AUTH_SETTINGS.auth.apiToken;
},
},
methods: {
async addWebhook (url) {