Make inspector sections inherit from uiSection (re: #7368)

This commit is contained in:
Quincy Morgan
2020-02-21 15:22:54 -08:00
parent a43a7f8b50
commit 6782947f5b
20 changed files with 1522 additions and 1599 deletions
+3 -2
View File
@@ -11,7 +11,7 @@ import { tooltip } from '../util/tooltip';
import { uiChangesetEditor } from './changeset_editor';
import { uiCommitChanges } from './commit_changes';
import { uiCommitWarnings } from './commit_warnings';
import { uiRawTagEditor } from './raw_tag_editor';
import { uiSectionRawTagEditor } from './sections/raw_tag_editor';
import { utilArrayGroupBy, utilRebind } from '../util';
import { utilDetect } from '../util/detect';
@@ -44,7 +44,7 @@ export function uiCommit(context) {
var changesetEditor = uiChangesetEditor(context)
.on('change', changeTags);
var rawTagEditor = uiRawTagEditor(context)
var rawTagEditor = uiSectionRawTagEditor(context)
.on('change', changeTags);
var commitChanges = uiCommitChanges(context);
var commitWarnings = uiCommitWarnings(context);
@@ -399,6 +399,7 @@ export function uiCommit(context) {
.expanded(expanded)
.readOnlyTags(readOnlyTags)
.tags(Object.assign({}, _changeset.tags)) // shallow copy
.render
);