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