src/sap.ui.documentation/src/sap/ui/documentation/sdk/controller/App.controller.js
function() {
				var oViewModel = this.getModel("appView"),
					bPhoneSize = oViewModel.getProperty("/bPhoneSize");

				// Version switch should not be shown on phone sizes or when no versions are found
				oViewModel.setProperty("/bShowVersionSwitchInHeader", !bPhoneSize && !!this._aNeoAppVersions);
				oViewModel.setProperty("/bShowVersionSwitchInMenu", bPhoneSize && !!this._aNeoAppVersions);
			}
function() {
				var oViewModel = this.getModel("appView"),
					bPhoneSize = oViewModel.getProperty("/bPhoneSize");

				// Version switch should not be shown on phone sizes or when no versions are found
				oViewModel.setProperty("/bShowVersionSwitchInHeader", !bPhoneSize && !!this._aNeoAppVersions);
				oViewModel.setProperty("/bShowVersionSwitchInMenu", bPhoneSize && !!this._aNeoAppVersions);
			}
function ( ) { var oViewModel = this . getModel ( "appView" ) , bPhoneSize = oViewModel . getProperty ( "/bPhoneSize" ) ; // Version switch should not be shown on phone sizes or when no versions are found oViewModel . setProperty ( "/bShowVersionSwitchInHeader" , ! bPhoneSize && ! ! this . _aNeoAppVersions ) ; oViewModel . setProperty ( "/bShowVersionSwitchInMenu" , bPhoneSize && ! ! this . _aNeoAppVersions ) ; }
Determines whether or not to show the version change button.

@private
Determines whether or not to show the version change button .