mirror of
https://github.com/strapi/strapi.git
synced 2025-11-06 21:29:24 +00:00
fix: dont merge the state if the ID changes fix: pass id to querykey & add cleanup method to useRelation hook fix: pass defaultParams as part of the cache key Revert "fix: reset cache for `relation` keys in i18n plugin" This reverts commit 34b2fd9fabfcb93fb9f416616802e10b79133112. fix: pass defaultParams as part of the cache key chore: spread cachekey in search query fix: move logic to useRelations hook that handles removing from the store. fix: broken test refactor: rename method to onUnmount
10 lines
204 B
JavaScript
10 lines
204 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* relation-locale controller
|
|
*/
|
|
|
|
const { createCoreController } = require('@strapi/strapi').factories;
|
|
|
|
module.exports = createCoreController('api::relation-locale.relation-locale');
|