File tree Expand file tree Collapse file tree 2 files changed +20
-12
lines changed
packages/web/app/src/pages Expand file tree Collapse file tree 2 files changed +20
-12
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' hive ' : patch
3
+ ---
4
+
5
+ Prevent editing the base schema showing up for federation projects.
Original file line number Diff line number Diff line change @@ -1334,20 +1334,23 @@ function TargetSettingsContent(props: {
1334
1334
} > = [ ] ;
1335
1335
1336
1336
if ( currentTarget ?. viewerCanModifySettings ) {
1337
- pages . push (
1338
- {
1339
- key : 'general' ,
1340
- title : 'General' ,
1341
- } ,
1342
- {
1337
+ pages . push ( {
1338
+ key : 'general' ,
1339
+ title : 'General' ,
1340
+ } ) ;
1341
+
1342
+ if ( currentProject ?. type !== ProjectType . Federation ) {
1343
+ pages . push ( {
1343
1344
key : 'base-schema' ,
1344
1345
title : 'Base Schema' ,
1345
- } ,
1346
- {
1347
- key : 'breaking-changes' ,
1348
- title : 'Breaking Changes' ,
1349
- } ,
1350
- ) ;
1346
+ } ) ;
1347
+ }
1348
+
1349
+ pages . push ( {
1350
+ key : 'breaking-changes' ,
1351
+ title : 'Breaking Changes' ,
1352
+ } ) ;
1353
+
1351
1354
if ( currentProject ?. type === ProjectType . Federation ) {
1352
1355
pages . push ( {
1353
1356
key : 'schema-contracts' ,
You can’t perform that action at this time.
0 commit comments