           return "<span class='text-warning'>#{instance.status}</span>"
 
       isLaunchHidden: (instance) ->
-        instance.status == 'terminating' || 
+        instance.status == 'terminating' ||
         instance.status == 'terminated' ||
         this.isOauthConnectBtnShown(instance) ||
         this.isNewOfficeApp(instance)
-      
+
       # Deprecated?
       isStartShown: (instance) ->
         if instance.stack? && instance.stack.match(/^(cloud|connector)$/i)

        false

      dataSyncPath: (instance) ->
        "/webhook/sync/#{instance.uid}/perform"
      
      oAuthConnectPath: (instance)->
        "/mnoe/webhook/oauth/#{instance.uid}/authorize"
      
      dataDisconnectPath: (instance) ->
        "/mnoe/webhook/oauth/#{instance.uid}/disconnect"


        instance.stack == 'connector' && instance.app_nid == 'myob' && !instance.oauth_keys_valid

      isOauthConnectBtnShown: (instance) ->
        instance.app_nid != 'office-365' &&
        instance.stack == 'connector' &&
        !instance.oauth_keys_valid

      connectToQuickBooks: (instance) ->
