]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-12470 Wrong edition in footer at startup
authorPhilippe Perrin <philippe.perrin@sonarsource.com>
Fri, 11 Oct 2019 15:36:38 +0000 (17:36 +0200)
committerSonarTech <sonartech@sonarsource.com>
Wed, 16 Oct 2019 09:09:15 +0000 (11:09 +0200)
server/sonar-web/src/main/js/app/types.d.ts
server/sonar-web/src/main/js/store/appState.ts

index 18ed0575aa54a0104584f63c4614983df56a62f7..d9150485955ffee1302deb56f3128f272b2c6f61 100644 (file)
@@ -97,7 +97,7 @@ declare namespace T {
     branchesEnabled?: boolean;
     canAdmin?: boolean;
     defaultOrganization: string;
-    edition: EditionKey;
+    edition: EditionKey | undefined;
     globalPages?: Extension[];
     organizationsEnabled?: boolean;
     productionDatabase: boolean;
index 844fe669c22d552728730f0c9dcf5c0bf25c2cef..7fbb894f15a55cf7b51670af9304aa8c035304e4 100644 (file)
@@ -17,7 +17,6 @@
  * along with this program; if not, write to the Free Software Foundation,
  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
  */
-import { EditionKey } from '../apps/marketplace/utils';
 import { ActionType } from './utils/actions';
 
 export const enum Actions {
@@ -47,7 +46,7 @@ const defaultValue: T.AppState = {
   authenticationError: false,
   authorizationError: false,
   defaultOrganization: '',
-  edition: EditionKey.community,
+  edition: undefined,
   organizationsEnabled: false,
   productionDatabase: true,
   qualifiers: [],