fixed list, need to test
This commit is contained in:
		
							parent
							
								
									7012c253a3
								
							
						
					
					
						commit
						f59cdd96a0
					
				| @ -303,18 +303,11 @@ app.controller('websiteCtrl', [ | ||||
|   Auth.api('domains.list', {}).then(function (els) { | ||||
|     console.log('domains.list els', els); | ||||
|     vm.domains = els; | ||||
|     $scope.domain = vm.domains; | ||||
|   }); | ||||
|   vm.listSites(); | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
|   $scope.domain = [ | ||||
|     { amount: "0", createdAt: "1498687134570", domain: "asdf.daplie.me", id: "1a38260bac84e0c4f8c1edf3600d98ba", session: "mmIoFLxbobxdhfSV8HWhokUGMRy-i5TIUZ_9c5ywGhYSuRi1KHh_aVSgBixxyHPW@oauth3.org", sld: "asdf", tld: "daplie.me", updatedAt: "1498687134570" }, | ||||
|     { amount: "0", createdAt: "1499722035396", domain: "two.daplie.me", id: "2ea60504fa2a917a5b3736c53a564fa4", session: "mmIoFLxbobxdhfSV8HWhokUGMRy-i5TIUZ_9c5ywGhYSuRi1KHh_aVSgBixxyHPW@oauth3.org", sld: "two", tld: "daplie.me", updatedAt: "1499722035396" }, | ||||
|     { amount: "0", createdAt: "1502725301216", domain: "jon.lambson.daplie.me", id: "23117a47d1ef60a360b46a703afc1c67", session: "mmIoFLxbobxdhfSV8HWhokUGMRy-i5TIUZ_9c5ywGhYSuRi1KHh_aVSgBixxyHPW@oauth3.org", sld: "jon.lambson", tld: "daplie.me", updatedAt: "1502725301216" }, | ||||
|     { amount: "0", createdAt: "1502990579539", domain: "joncloud.daplie.me", id: "ec7e4d8643537d7602fffd61b36e1676", session: "mmIoFLxbobxdhfSV8HWhokUGMRy-i5TIUZ_9c5ywGhYSuRi1KHh_aVSgBixxyHPW@oauth3.org", sld: "joncloud", tld: "daplie.me", updatedAt: "1502990579539" } | ||||
|   ]; | ||||
| 
 | ||||
|   $scope.localDomainSearch = function(str, domain) { | ||||
|     var matches = []; | ||||
|     domain.forEach(function(domain) { | ||||
|  | ||||
| @ -84,6 +84,7 @@ | ||||
| 
 | ||||
| </div> | ||||
| 
 | ||||
| 
 | ||||
| <div angucomplete-alt | ||||
|   placeholder="Select a domain" | ||||
|   pause="300" | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user