Commit f2e5d75f authored by ZeMKI's avatar ZeMKI
Browse files

Token Name from premade tokens bugfix

parent dbb4cf5a
......@@ -2133,7 +2133,7 @@ export default {
this.response += this.errormessages.short_description;
}
if (this.sorting.id !== 2 && _.find(this.sorting.tokens, {name: ''})) {
if (this.sorting.id !== 2 && _.find(this.sorting.tokens, (token)=>{ return token.name === '' || token.name === undefined})) {
this.response += this.errormessages.tokens;
}
......
......@@ -65,7 +65,7 @@
@if(count($studies) > 0)
<div class="mx-auto w-2/3 my-4">
<h1 class="text-4xl font-extrabold text-blue-600 break-words">Your Studies
<h1 class="text-4xl font-extrabold text-blue-600 break-words">{{__('Your Studies')}}
<span class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full @if(count($studies) > 12) text-red-700 @endif">{{count($studies)}} / 15</span>
@if(session('hasReachMaxNumberOfStudies'))
<span class="text-yellow-300 items-center bg-red-600 px-3 mr-4 text-base">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment