Skip to content

Commit 6802928

Browse files
FalkWolskysnowe2010
FalkWolsky
authored andcommitted
Version Display for remote Comps
1 parent 315c781 commit 6802928

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

client/packages/lowcoder/src/components/CompName.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,12 @@ export const CompName = (props: Iprops) => {
115115

116116

117117
if (compInfo.isRemote) {
118+
// Falk: Displaying the current version of the component
119+
items.push({
120+
text: trans("history.currentVersion") + ": " + compInfo.packageVersion,
121+
onClick: () => {
122+
},
123+
});
118124
items.push({
119125
text: trans("history.currentVersion") + ": " + compInfo.packageVersion,
120126
onClick: () => {
@@ -127,6 +133,7 @@ export const CompName = (props: Iprops) => {
127133
onClick: () => {
128134
handleUpgrade();
129135
},
136+
130137
});
131138
}
132139

0 commit comments

Comments
 (0)