Skip to content

Commit babd790

Browse files
committed
Fix merge issues
1 parent 0256b14 commit babd790

File tree

1 file changed

+37
-11
lines changed

1 file changed

+37
-11
lines changed

package.json

Lines changed: 37 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@
6565
"category": "Azure Container Apps",
6666
"icon": "$(add)"
6767
},
68+
{
69+
"command": "containerApps.deleteManagedEnvironment",
70+
"title": "%containerApps.deleteManagedEnvironment%",
71+
"category": "Azure Container Apps"
72+
},
73+
{
74+
"command": "containerApps.editContainerApp",
75+
"title": "%containerApps.editContainerApp%",
76+
"category": "Azure Container Apps"
77+
},
6878
{
6979
"command": "containerApps.deployImage",
7080
"title": "%containerApps.deployImage%",
@@ -76,11 +86,6 @@
7686
"title": "%containerApps.deployImageApi%",
7787
"category": "Azure Container Apps"
7888
},
79-
{
80-
"command": "containerApps.deleteManagedEnvironment",
81-
"title": "%containerApps.deleteManagedEnvironment%",
82-
"category": "Azure Container Apps"
83-
},
8489
{
8590
"command": "containerApps.deleteContainerApp",
8691
"title": "%containerApps.deleteContainerApp%",
@@ -106,6 +111,12 @@
106111
"title": "%containerApps.editTargetPort%",
107112
"category": "Azure Container Apps"
108113
},
114+
{
115+
"command": "containerApps.discardRevisionDraft",
116+
"title": "%containerApps.discardRevisionDraft%",
117+
"category": "Azure Container Apps",
118+
"icon": "$(discard)"
119+
},
109120
{
110121
"command": "containerApps.chooseRevisionMode",
111122
"title": "%containerApps.chooseRevisionMode%",
@@ -215,24 +226,39 @@
215226
"group": "2@2"
216227
},
217228
{
218-
"command": "containerApps.deployImage",
219-
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /containerAppItem/i",
220-
"group": "3@1"
229+
"command": "containerApps.discardRevisionDraft",
230+
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /containerAppItem(.*)revisionMode:single(.*)unsavedChanges:true/i",
231+
"group": "inline@2"
232+
},
233+
{
234+
"command": "containerApps.discardRevisionDraft",
235+
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /containerAppItem(.*)revisionMode:single(.*)unsavedChanges:true/i",
236+
"group": "3@2"
237+
},
238+
{
239+
"command": "containerApps.editContainerApp",
240+
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /containerAppItem(.*)revisionMode:single/i",
241+
"group": "4@1"
221242
},
222243
{
223244
"command": "containerApps.deleteContainerApp",
224245
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /containerAppItem/i",
225-
"group": "3@2"
246+
"group": "5@1"
247+
},
248+
{
249+
"command": "containerApps.deployImage",
250+
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /containerAppItem/i",
251+
"group": "6@1"
226252
},
227253
{
228254
"command": "containerApps.startStreamingLogs",
229255
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /containerAppItem/i",
230-
"group": "4@1"
256+
"group": "7@1"
231257
},
232258
{
233259
"command": "containerApps.stopStreamingLogs",
234260
"when": "view =~ /(azureResourceGroups|azureFocusView)/ && viewItem =~ /containerAppItem/i",
235-
"group": "4@2"
261+
"group": "7@2"
236262
},
237263
{
238264
"command": "containerApps.chooseRevisionMode",

0 commit comments

Comments
 (0)