Updates the JS to remove unneeded services injected in

Updates view to be simpler if statement - that by having something set to it then we can show the UI
This commit is contained in:
Warren
2018-03-29 20:54:20 +01:00
parent 6d2bf71824
commit a9c184b4fd
3 changed files with 3 additions and 3 deletions

View File

@@ -3,7 +3,7 @@
* @name umbraco.resources.languageResource
* @description Handles retrieving and updating language data
**/
function languageResource($q, $http, umbRequestHelper) {
function languageResource($http, umbRequestHelper) {
return {
getCultures: function() {

View File

@@ -21,7 +21,7 @@
<umb-box ng-if="!vm.loading" class="block-form">
<umb-box-content>
<umb-control-group label="@general_language" ng-if="vm.availableCultures != null">
<umb-control-group label="@general_language" ng-if="vm.availableCultures">
<select name="newLang"
class="input-block-level"
ng-model="vm.language.culture"

View File

@@ -1,7 +1,7 @@
(function () {
"use strict";
function LanguagesOverviewController($timeout, $location, notificationsService, localizationService, languageResource) {
function LanguagesOverviewController($location, notificationsService, localizationService, languageResource) {
var vm = this;