mirror of
https://github.com/strapi/strapi.git
synced 2025-09-23 23:38:15 +00:00
Fix PR feedback
Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
parent
87b7aece4c
commit
06ad93aa09
@ -120,10 +120,7 @@ export class Admin extends React.Component {
|
|||||||
getStrapiLatestReleaseSucceeded,
|
getStrapiLatestReleaseSucceeded,
|
||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
if (!STRAPI_ADMIN_UPDATE_NOTIFICATION === 'true') {
|
if (STRAPI_ADMIN_UPDATE_NOTIFICATION === 'true') {
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const {
|
const {
|
||||||
data: { tag_name },
|
data: { tag_name },
|
||||||
@ -155,6 +152,7 @@ export class Admin extends React.Component {
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
// Silent
|
// Silent
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
hasApluginNotReady = props => {
|
hasApluginNotReady = props => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user