mirror of
https://github.com/gristlabs/grist-core.git
synced 2026-03-02 04:09:24 +00:00
(core) updates from grist-core
This commit is contained in:
@@ -209,8 +209,8 @@ class CachedWidgetRepository extends WidgetRepositoryImpl {
|
||||
return list;
|
||||
}
|
||||
|
||||
public testOverrideUrl(url: string) {
|
||||
super.testOverrideUrl(url);
|
||||
public testOverrideUrl(overrideUrl: string) {
|
||||
super.testOverrideUrl(overrideUrl);
|
||||
this._cache.reset();
|
||||
}
|
||||
}
|
||||
@@ -267,7 +267,7 @@ export function getWidgetsInPlugins(gristServer: GristServer,
|
||||
gristServer.getTag() + '/widgets/' + plugin.id + '/';
|
||||
places.push({
|
||||
urlBase,
|
||||
dir: plugin.path,
|
||||
dir: path.resolve(plugin.path, path.dirname(components.widgets)),
|
||||
file: path.join(plugin.path, components.widgets),
|
||||
name: plugin.manifest.name || plugin.id,
|
||||
pluginId: plugin.id,
|
||||
|
||||
Reference in New Issue
Block a user