diff --git a/web/src/StoreListPage.js b/web/src/StoreListPage.js index 0ec3a75..d3a4f46 100644 --- a/web/src/StoreListPage.js +++ b/web/src/StoreListPage.js @@ -142,6 +142,10 @@ class StoreListPage extends React.Component { width: "250px", sorter: (a, b) => a.storageProvider.localeCompare(b.storageProvider), render: (text, record, index) => { + if (text === "") { + return null; + } + return ( {text} diff --git a/web/src/backend/FetchFilter.js b/web/src/backend/FetchFilter.js index 20f62e8..4d3acef 100644 --- a/web/src/backend/FetchFilter.js +++ b/web/src/backend/FetchFilter.js @@ -31,7 +31,7 @@ const demoModeCallback = (res) => { okText: i18next.t("general:OK"), cancelText: i18next.t("general:Cancel"), onOk() { - Setting.openLink(`https://demo.ai.casbin.com/${location.pathname}${location.search}?username=built-in/admin&password=123`); + Setting.openLink(`https://demo-ai.casbin.com/${location.pathname}${location.search}?username=built-in/admin&password=123`); }, onCancel() {}, });