diff --git a/directory/sail.json b/directory/sail.json index 7d59be0e..f19939b9 100644 --- a/directory/sail.json +++ b/directory/sail.json @@ -108,77 +108,6 @@ "version": "1.0.0", "publisher": "FINOS", "icons": [] - }, - { - "appId": "pricer", - "name": "Pricer", - "title": "Pricer", - "description": "A demo app for the FDC3 Developer Course", - "icons": [ - { - "src": "http://localhost:5000/static/pricer/icon.png" - } - ], - "screenshots": [ - { - "src": "http://localhost:5000/static/pricer/screenshot.png", - "label": "Demo Screenshot" - } - ], - "type": "web", - "details": { - "url": "http://localhost:5000/static/pricer/index.html" - }, - "interop": { - "intents": { - "listensFor": { - "ViewQuote": { - "displayName": "View Quote", - "contexts": [ - "fdc3.instrument" - ] - }, - "demo.GetPrices": { - "displayName": "Get Prices", - "contexts": [ - "fdc3.instrument" - ] - } - } - } - }, - "hostManifests": { - "sail": { - "injectApi": "2.0" - } - } - }, - { - "appId": "tradelist", - "name": "TradeList", - "title": "TradeList", - "description": "A demo app for the FDC3 Developer Course", - "icons": [ - { - "src": "http://localhost:5000/static/tradelist/icon.png" - } - ], - "screenshots": [ - { - "src": "http://localhost:5000/static/tradelist/screenshot.png", - "label": "Demo Screenshot" - } - ], - "type": "web", - "details": { - "url": "http://localhost:5000/static/tradelist/index.html" - }, - "interop": {}, - "hostManifests": { - "sail": { - "injectApi": "2.0" - } - } } ], "message": "OK" diff --git a/src/client/grid/grid.tsx b/src/client/grid/grid.tsx index 3405a866..2eea991a 100644 --- a/src/client/grid/grid.tsx +++ b/src/client/grid/grid.tsx @@ -5,6 +5,7 @@ import "gridstack/dist/gridstack.css" import { GridsState } from "./gridstate" import { AppState, getAppState } from "../state/AppState" import { State } from "@kite9/fdc3-web-impl" +import { AppHosting } from "../../server/da/SailServerContext" type GridsProps = { cs: ClientState; gs: GridsState; as: AppState; id: string } @@ -142,13 +143,14 @@ export const Content = ({ {panel.title}