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/
.phpunit.result.cache
/storage/temp/
/storage/debugbar/
# User data files
/data/

View File

@ -119,10 +119,6 @@ class MemberResource extends JsonResource
*/
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')) {
return [];
}

View File

@ -66,17 +66,13 @@ export default {
this.search.s = event;
debounce(async () => {
var response = await this.axios.post(
'/api/member/search',
{
var response = await this.axios.post('/api/member/search', {
filter: {
search: event,
hasBirthday: true,
hasFullAddress: true,
},
},
{ headers: { 'X-Meta': 'false' } }
);
});
this.search.results = response.data.data;
}, 300)();