fix: extension url validation
This commit is contained in:
@@ -11,12 +11,15 @@ export const UrlMissing: FunctionalComponent<IProps> = ({ componentName }) => {
|
|||||||
<div className={'sk-panel-content'}>
|
<div className={'sk-panel-content'}>
|
||||||
<div className={'sk-panel-section stretch'}>
|
<div className={'sk-panel-section stretch'}>
|
||||||
<div className={'sk-panel-section-title'}>
|
<div className={'sk-panel-section-title'}>
|
||||||
This extension is not installed correctly.
|
This extension is missing its URL property.
|
||||||
</div>
|
</div>
|
||||||
<p>Please uninstall {componentName}, then re-install it.</p>
|
|
||||||
<p>
|
<p>
|
||||||
This issue can occur if you access Standard Notes using an older version of the app.{' '}
|
In order to access your note immediately,
|
||||||
Ensure you are running at least version 2.1 on all platforms.
|
please switch from {componentName} to the Plain Editor.
|
||||||
|
</p>
|
||||||
|
<br/>
|
||||||
|
<p>
|
||||||
|
Please contact help@standardnotes.com to remedy this issue.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -189,6 +189,7 @@ export const ComponentView: FunctionalComponent<IProps> = observer(
|
|||||||
}, [component, handleIframeLoadTimeout, loadTimeout]);
|
}, [component, handleIframeLoadTimeout, loadTimeout]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
reloadStatus();
|
||||||
if (!iframeRef.current) {
|
if (!iframeRef.current) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
"@reach/listbox": "^0.16.2",
|
"@reach/listbox": "^0.16.2",
|
||||||
"@standardnotes/features": "1.8.1",
|
"@standardnotes/features": "1.8.1",
|
||||||
"@standardnotes/sncrypto-web": "1.5.3",
|
"@standardnotes/sncrypto-web": "1.5.3",
|
||||||
"@standardnotes/snjs": "2.17.7",
|
"@standardnotes/snjs": "2.17.8",
|
||||||
"mobx": "^6.3.5",
|
"mobx": "^6.3.5",
|
||||||
"mobx-react-lite": "^3.2.1",
|
"mobx-react-lite": "^3.2.1",
|
||||||
"preact": "^10.5.15",
|
"preact": "^10.5.15",
|
||||||
|
|||||||
@@ -2199,10 +2199,10 @@
|
|||||||
buffer "^6.0.3"
|
buffer "^6.0.3"
|
||||||
libsodium-wrappers "^0.7.9"
|
libsodium-wrappers "^0.7.9"
|
||||||
|
|
||||||
"@standardnotes/snjs@2.17.7":
|
"@standardnotes/snjs@2.17.8":
|
||||||
version "2.17.7"
|
version "2.17.8"
|
||||||
resolved "https://registry.yarnpkg.com/@standardnotes/snjs/-/snjs-2.17.7.tgz#10f56e46d6a992e84da94fb7b9ec8dfc8a9a8da3"
|
resolved "https://registry.yarnpkg.com/@standardnotes/snjs/-/snjs-2.17.8.tgz#b701e36de871cf44de461bab9e10c215228b0cd1"
|
||||||
integrity sha512-7BxEywqhIfYHfkKDlS466vMeWPznXwXrQVj21eKG4ibiAyYhuTXRUYhnCwZKdloNm9Wl0iChJXuiWfev2+tGqg==
|
integrity sha512-n9xLdYWA2wHLxdXO6Bree9A30A30D8Ci+s/3plnD1xGSl/u/w0K51jmhNrJNnjr2NWfRHWBz746U0hx1JcWqnw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@standardnotes/auth" "^3.8.1"
|
"@standardnotes/auth" "^3.8.1"
|
||||||
"@standardnotes/common" "^1.2.1"
|
"@standardnotes/common" "^1.2.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user