TODOs
This commit is contained in:
@@ -20,6 +20,7 @@ export class UmbPublishDocumentEntityAction extends UmbEntityActionBase<UmbDocum
|
||||
unique: new UmbVariantId(language.unique, null).toString(),
|
||||
}));
|
||||
|
||||
// TODO: Maybe move this to modal [NL]
|
||||
// Only display variants that are relevant to pick from, i.e. variants that are draft or published with pending changes:
|
||||
const options = allOptions.filter(
|
||||
(option) =>
|
||||
|
||||
@@ -20,6 +20,7 @@ export class UmbUnpublishDocumentEntityAction extends UmbEntityActionBase<UmbDoc
|
||||
unique: new UmbVariantId(language.unique, null).toString(),
|
||||
}));
|
||||
|
||||
// TODO: Maybe move this to modal [NL]
|
||||
// Only display variants that are relevant to pick from, i.e. variants that are published or published with pending changes:
|
||||
const options = allOptions.filter(
|
||||
(option) =>
|
||||
|
||||
@@ -30,6 +30,7 @@ export class UmbPickDocumentVariantModalController extends UmbBaseController {
|
||||
// TODO: What do to when there is no options?
|
||||
}
|
||||
|
||||
// TODO: Maybe move this to modal [NL]
|
||||
if (selected.length === 0) {
|
||||
// TODO: Make it possible to use consume context without callback. [NL]
|
||||
const ctrl = this.consumeContext(UMB_APP_LANGUAGE_CONTEXT, (appLanguageContext) => {});
|
||||
|
||||
Reference in New Issue
Block a user