The 'Choose a Source' button was listing the current Grid. This returns the behavior back to before 2164f3fb3b3a77f2501627400d406dffdcb9578, where the current Grid was not shown in the list. This also fixes the problem that 2164f3fb3b3a77f2501627400d406dffdcb9578 was attempting to address, where a cluster with the same name as a grid would get filtered out.
The logic of 2164f3fb3b3a77f2501627400d406dffdcb9578 was flawed because $context is always "meta" at that point, making the if statement always false.
Now it checks if the name is the same as the current grid and if it is a grid, is so, then skip it.
The 'Choose a Source' button was listing the current Grid. This returns the behavior back to before 2164f3fb3b3a77f2501627400d406dffdcb9578, where the current Grid was not shown in the list. This also fixes the problem that 2164f3fb3b3a77f2501627400d406dffdcb9578 was attempting to address, where a cluster with the same name as a grid would get filtered out.
The logic of 2164f3fb3b3a77f2501627400d406dffdcb9578 was flawed because $context is always "meta" at that point, making the if statement always false.
Now it checks if the name is the same as the current grid and if it is a grid, is so, then skip it.