Files
directus/app
Azri Kahar bb51d5a618 Reset junction collection/fields for field relationships with junction table (#15904)
* use `localType` to disable related collection in m2m

this is because `localType` dictates the relationship type (eg. m2m, files), but `type` was only field type (eg. alias, string)

* reset files junction when re-enabling auto fill

* prevent m2m clearing related collection

When re-enabled auto-fill, the updates only contain the autofill, not the m2o related collection value, so it was unintentionally resetting the value even when we are only toggling autofill

* fix autofill for translations

* fix m2a junction autofill toggles

* use getCurrent instead of state

* basic test for fieldDetailStore

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
2022-10-15 01:56:03 +00:00
..
2022-03-14 15:49:01 -04:00
2021-06-08 15:59:55 -04:00
2021-05-04 18:52:08 -04:00
2022-10-11 16:06:09 -04:00
2021-02-18 09:58:36 -05:00
2022-10-11 16:06:09 -04:00

@directus/app

The Directus Admin App. Included with directus itself. You wouldn't install this package separately.