Compare commits

..

No commits in common. "fc368bcd1a5009ef719f2bc9a8ab7be979a4e8da" and "7121e57cbb625006a05f4b1b8f6cc9589c656044" have entirely different histories.

3 changed files with 7 additions and 16 deletions

1
.gitignore vendored
View File

@ -14,7 +14,6 @@ Homestead.json
.vagrant/ .vagrant/
.phpunit.result.cache .phpunit.result.cache
/storage/temp/ /storage/temp/
/storage/debugbar/
# User data files # User data files
/data/ /data/

View File

@ -119,10 +119,6 @@ class MemberResource extends JsonResource
*/ */
public static function meta(): array public static function meta(): array
{ {
if (request()->header('X-Meta') === 'false') {
return [];
}
if (request()->header('X-Inertia-Partial-Data', '') !== '' && !str_contains(request()->header('X-Inertia-Partial-Data', ''), 'meta')) { if (request()->header('X-Inertia-Partial-Data', '') !== '' && !str_contains(request()->header('X-Inertia-Partial-Data', ''), 'meta')) {
return []; return [];
} }

View File

@ -25,7 +25,7 @@
<button v-for="(compiler, index) in compilers" class="btn btn-primary mt-3 inline-block" @click.prevent=" <button v-for="(compiler, index) in compilers" class="btn btn-primary mt-3 inline-block" @click.prevent="
values.type = compiler.class; values.type = compiler.class;
submit(); submit();
" v-text="compiler.title"></button> " v-text="compiler.title"></button>
</form> </form>
</page-layout> </page-layout>
</template> </template>
@ -66,17 +66,13 @@ export default {
this.search.s = event; this.search.s = event;
debounce(async () => { debounce(async () => {
var response = await this.axios.post( var response = await this.axios.post('/api/member/search', {
'/api/member/search', filter: {
{ search: event,
filter: { hasBirthday: true,
search: event, hasFullAddress: true,
hasBirthday: true,
hasFullAddress: true,
},
}, },
{ headers: { 'X-Meta': 'false' } } });
);
this.search.results = response.data.data; this.search.results = response.data.data;
}, 300)(); }, 300)();