You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Locations Resolver appears twice on a singleton document.
To Reproduce
Steps to reproduce the behavior:
Create a singleton document (type: 'site')
Define location resolver:
presentationTool({
...,resolve: {locations: {site: defineLocations({message: 'This document is used on all pages',locations: [{title: 'Home',href: '/',},],}),}}})
Expected behavior
Should only appear once
Screenshots
Which versions of Sanity are you using?
@sanity/cli (global) 3.74.1 (up to date)
@sanity/code-input 5.1.2 (up to date)
@sanity/dashboard 4.1.2 (up to date)
@sanity/eslint-config-studio 5.0.1 (up to date)
@sanity/image-url 1.1.0 (up to date)
@sanity/preview-url-secret 2.1.4 (up to date)
@sanity/vision 3.74.1 (up to date)
sanity 3.74.1 (up to date)
What operating system are you using?
macOS Sequoia 15.3 (24D60)
Which versions of Node.js / npm are you running?
9.8.1
v18.18.0
Additional context
When groups are defined for the site singleton document, one of the Location Resolver disappears. Seems to be only appearing under "All" and the first group (set as default):
Screen.Recording.2025-02-10.at.6.16.46.PM.mov
The text was updated successfully, but these errors were encountered:
Describe the bug
Locations Resolver appears twice on a singleton document.
To Reproduce
Steps to reproduce the behavior:
type: 'site')
Expected behavior
Should only appear once
Screenshots
Which versions of Sanity are you using?
What operating system are you using?
macOS Sequoia 15.3 (24D60)
Which versions of Node.js / npm are you running?
Additional context
When groups are defined for the
site
singleton document, one of the Location Resolver disappears. Seems to be only appearing under "All" and the first group (set as default):Screen.Recording.2025-02-10.at.6.16.46.PM.mov
The text was updated successfully, but these errors were encountered: