I would have thought that Halon or CO2 would have been required there.
Personally I would have set aside some maintenance time so that the buss could be deenergized and that sprinkler head capped.
Scenario: Electrical fire in the fry-daddy aisle, sprinklers go off.
Supervisor; "Johnny go turn off the electrical power, it's by the wall over there."
Now there are two fry-daddy aisles with electrical fires in them.