File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
extensions/ql-vscode/src/view/method-modeling Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { Method } from "../../model-editor/method";
66import { MethodName } from "../model-editor/MethodName" ;
77import { ModeledMethod } from "../../model-editor/modeled-method" ;
88import { MethodModelingInputs } from "./MethodModelingInputs" ;
9+ import { VSCodeTag } from "@vscode/webview-ui-toolkit/react" ;
910
1011const Container = styled . div `
1112 padding: 0.3rem;
@@ -17,6 +18,8 @@ const Title = styled.div`
1718 padding-bottom: 0.3rem;
1819 font-size: 0.7rem;
1920 text-transform: uppercase;
21+ display: flex;
22+ justify-content: space-between;
2023` ;
2124
2225const DependencyContainer = styled . div `
@@ -48,6 +51,7 @@ export const MethodModeling = ({
4851 < Title >
4952 { method . packageName }
5053 { method . libraryVersion && < > @{ method . libraryVersion } </ > }
54+ { modelingStatus === "unsaved" ? < VSCodeTag > Unsaved</ VSCodeTag > : null }
5155 </ Title >
5256 < DependencyContainer >
5357 < ModelingStatusIndicator status = { modelingStatus } />
You can’t perform that action at this time.
0 commit comments