X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FUI.git;a=blobdiff_plain;f=skyquake%2Fplugins%2Fcomposer%2Fsrc%2Fsrc%2Fcomponents%2Fmessages.js;h=c66641af566170f3617a7830f8b32f5bd79f2297;hp=0128aa413f4e0651ebe5d74a3847bf2db3ba1e0f;hb=03156e335275de1dafbc2a816e98006afdf249bf;hpb=f2dc2462571800e62cba969964de621dca09299c diff --git a/skyquake/plugins/composer/src/src/components/messages.js b/skyquake/plugins/composer/src/src/components/messages.js index 0128aa413..c66641af5 100644 --- a/skyquake/plugins/composer/src/src/components/messages.js +++ b/skyquake/plugins/composer/src/src/components/messages.js @@ -1,6 +1,6 @@ /* - * + * * Copyright 2016 RIFT.IO Inc * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -29,11 +29,11 @@ const message = { detailsWelcome() { return

Select an object to view details.

; }, - canvasWelcome() { + canvasWelcome(isValid) { return (

Double-click a Descriptor to open.

-

Or drag a Descriptor to add to Canvas.

+ {isValid ?

Or drag a Descriptor to add to Canvas.

: null}
); }, @@ -43,8 +43,8 @@ const message = { get showLessTitle() { return 'Show Less'; }, - get catalogWelcome() { - return

To onboard a descriptor, drag the package to the catalog or click the Onboard button () to select the package.

; + catalogWelcome(isValid) { + return isValid ?

To onboard a descriptor, drag the package to the catalog or click the Onboard button () to select the package.

:

No descriptors have been onboarded

; }, getSaveActionLabel(isNew) { return isNew ? 'Onboard' : 'Update';