pull/21833/head
David Baker 2020-04-01 11:28:02 +01:00
parent a2f92e93a7
commit 9b4ce02eaf
2 changed files with 3 additions and 2 deletions

View File

@ -24,8 +24,7 @@ import {MatrixClientPeg} from "./MatrixClientPeg";
import RoomViewStore from "./stores/RoomViewStore"; import RoomViewStore from "./stores/RoomViewStore";
import {IntegrationManagers} from "./integrations/IntegrationManagers"; import {IntegrationManagers} from "./integrations/IntegrationManagers";
import SettingsStore from "./settings/SettingsStore"; import SettingsStore from "./settings/SettingsStore";
import {Capability, KnownWidgetActions} from "./widgets/WidgetApi"; import {Capability} from "./widgets/WidgetApi";
import SdkConfig from "./SdkConfig";
const WIDGET_API_VERSION = '0.0.2'; // Current API version const WIDGET_API_VERSION = '0.0.2'; // Current API version
const SUPPORTED_WIDGET_API_VERSIONS = [ const SUPPORTED_WIDGET_API_VERSIONS = [

View File

@ -541,6 +541,8 @@ export default class AppTile extends React.Component {
/** /**
* Replace the widget template variables in a url with their values * Replace the widget template variables in a url with their values
* *
* @param {string} u The URL with template variables
*
* @returns {string} url with temlate variables replaced * @returns {string} url with temlate variables replaced
*/ */
_templatedUrl(u) { _templatedUrl(u) {