use keys instead of ids
This commit is contained in:
@@ -16,5 +16,5 @@ export default {
|
||||
const mediaNodes = data.filter((node) => node.type === 'media');
|
||||
|
||||
export const AAAOverview: Story<UmbEditorMediaElement> = () =>
|
||||
html` <umb-editor-media id="${mediaNodes[0].id}"></umb-editor-media>`;
|
||||
html` <umb-editor-media id="${mediaNodes[0].key}"></umb-editor-media>`;
|
||||
AAAOverview.storyName = 'Overview';
|
||||
|
||||
@@ -14,5 +14,5 @@ export default {
|
||||
} as Meta;
|
||||
|
||||
export const AAAOverview: Story<UmbEditorNodeElement> = () =>
|
||||
html` <umb-editor-node id="${data[0].id}"></umb-editor-node>`;
|
||||
html` <umb-editor-node id="${data[0].key}"></umb-editor-node>`;
|
||||
AAAOverview.storyName = 'Overview';
|
||||
|
||||
Reference in New Issue
Block a user