fix n+1 queries with invite card
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -46,7 +46,7 @@ msgstr "" | ||||
| msgid "change password" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:89 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:94 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "create invite" | ||||
| msgstr "" | ||||
| @@ -157,12 +157,12 @@ msgstr "" | ||||
| msgid "export data as json" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:28 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:33 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "copy" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:25 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:30 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "copy invite link for %{invite_name}" | ||||
| msgstr "" | ||||
| @@ -190,7 +190,7 @@ msgstr "" | ||||
| msgid "delete %{step_title}" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:53 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:58 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "delete invite for %{invite_name}" | ||||
| msgstr "" | ||||
| @@ -215,7 +215,7 @@ msgstr "" | ||||
| msgid "edit %{step_title}" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:36 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:41 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "edit invite for %{invite_name}" | ||||
| msgstr "" | ||||
|   | ||||
| @@ -83,7 +83,7 @@ msgstr "" | ||||
| msgid "current password" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:65 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:70 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "disable" | ||||
| msgstr "" | ||||
| @@ -116,7 +116,7 @@ msgstr "" | ||||
| msgid "email unconfirmed" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:65 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:70 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "enable" | ||||
| msgstr "" | ||||
| @@ -142,7 +142,7 @@ msgstr "" | ||||
| msgid "instance information" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/components/core_components.ex:109 | ||||
| #: lib/memex_web/components/core_components/invite_card.html.heex:22 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "invite disabled" | ||||
| msgstr "" | ||||
| @@ -266,7 +266,7 @@ msgstr "" | ||||
| msgid "select privacy" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:80 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:85 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "set unlimited" | ||||
| msgstr "" | ||||
| @@ -291,7 +291,7 @@ msgstr "" | ||||
| msgid "tags" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:125 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:130 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "users" | ||||
| msgstr "" | ||||
| @@ -613,7 +613,7 @@ msgstr "" | ||||
| msgid "user registered on%{registered_datetime}" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/components/core_components.ex:104 | ||||
| #: lib/memex_web/components/core_components/invite_card.html.heex:17 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "uses left: unlimited" | ||||
| msgstr "" | ||||
| @@ -623,12 +623,12 @@ msgstr "" | ||||
| msgid "read more on how to use memEx" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/components/core_components.ex:99 | ||||
| #: lib/memex_web/components/core_components/invite_card.html.heex:12 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "uses left: %{uses_left_count}" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/components/core_components.ex:119 | ||||
| #: lib/memex_web/components/core_components/invite_card.html.heex:32 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "uses: %{uses_count}" | ||||
| msgstr "" | ||||
| @@ -648,7 +648,7 @@ msgstr "" | ||||
| msgid "Leave \"Uses left\" blank to make invite unlimited" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:97 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:102 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "admins" | ||||
| msgstr "" | ||||
|   | ||||
| @@ -66,7 +66,7 @@ msgstr "" | ||||
| msgid "are you sure you want to change your language?" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:48 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:53 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "are you sure you want to delete the invite for %{invite_name}?" | ||||
| msgstr "" | ||||
| @@ -81,7 +81,7 @@ msgstr "" | ||||
| msgid "are you sure you want to log out?" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:75 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:80 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "are you sure you want to make %{invite_name} unlimited?" | ||||
| msgstr "" | ||||
| @@ -152,8 +152,8 @@ msgstr "" | ||||
| msgid "your account has been deleted" | ||||
| msgstr "" | ||||
|  | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:108 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:136 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:113 | ||||
| #: lib/memex_web/live/invite_live/index.html.heex:141 | ||||
| #, elixir-autogen, elixir-format | ||||
| msgid "are you sure you want to delete %{email}? this action is permanent!" | ||||
| msgstr "" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user