File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
studio/studio/doctype/studio_app Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ const emit = defineEmits<{
6161}>()
6262const bindVariable = ref (!! props .isVariableBound )
6363
64- // Watch for external changes to isVariableBound prop
6564watch (
6665 () => props .isVariableBound ,
6766 (newValue ) => {
Original file line number Diff line number Diff line change @@ -139,13 +139,8 @@ def generate_app_build(self):
139139 if not frappe .has_permission ("Studio App" , ptype = "write" ):
140140 frappe .throw ("You do not have permission to generate the app build" , frappe .PermissionError )
141141
142- # check if build is required
143- draft_components = get_app_components (self .name , "draft_blocks" )
144- components = get_app_components (self .name )
145- if not draft_components .symmetric_difference (components ):
146- return
147-
148142 try :
143+ components = get_app_components (self .name )
149144 command = f"yarn build-studio-app { self .name } --components { ',' .join (list (components ))} "
150145 studio_app_path = frappe .get_app_source_path ("studio" )
151146 popen (command , cwd = studio_app_path , raise_err = True )
You can’t perform that action at this time.
0 commit comments